Hush full node GUI wallet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
789 B

6 years ago
#include "mainwindow.h"
#include "settings.h"
6 years ago
#include "precompiled.h"
int main(int argc, char *argv[])
{
6 years ago
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc, argv);
6 years ago
QIcon icon(":/icons/res/icon.ico");
QApplication::setWindowIcon(icon);
#ifdef Q_OS_LINUX
QFontDatabase::addApplicationFont(":/fonts/res/Ubuntu-R.ttf");
qApp->setFont(QFont("Ubuntu", 11, QFont::Normal, false));
#endif
QCoreApplication::setOrganizationName("zec-qt-wallet-org");
QCoreApplication::setApplicationName("zec-qt-wallet");
6 years ago
Settings::init();
6 years ago
MainWindow w;
w.setWindowTitle("zec-qt-wallet v" + QString(APP_VERSION));
6 years ago
w.show();
return QApplication::exec();
}