|
|
@ -561,7 +561,6 @@ int main(int argc, char *argv[]) |
|
|
|
Q_INIT_RESOURCE(bitcoin); |
|
|
|
Q_INIT_RESOURCE(bitcoin); |
|
|
|
Q_INIT_RESOURCE(bitcoin_locale); |
|
|
|
Q_INIT_RESOURCE(bitcoin_locale); |
|
|
|
|
|
|
|
|
|
|
|
BitcoinApplication app(argc, argv); |
|
|
|
|
|
|
|
#if QT_VERSION > 0x050100 |
|
|
|
#if QT_VERSION > 0x050100 |
|
|
|
// Generate high-dpi pixmaps
|
|
|
|
// Generate high-dpi pixmaps
|
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); |
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); |
|
|
@ -573,6 +572,8 @@ int main(int argc, char *argv[]) |
|
|
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); |
|
|
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BitcoinApplication app(argc, argv); |
|
|
|
|
|
|
|
|
|
|
|
// Register meta types used for QMetaObject::invokeMethod
|
|
|
|
// Register meta types used for QMetaObject::invokeMethod
|
|
|
|
qRegisterMetaType< bool* >(); |
|
|
|
qRegisterMetaType< bool* >(); |
|
|
|
// Need to pass name here as CAmount is a typedef (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
|
|
|
|
// Need to pass name here as CAmount is a typedef (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
|
|
|
|