Call Monero::Utils::onStartup in main.cpp (requires #2952)

This commit is contained in:
stoffu 2017-12-18 15:11:26 +09:00
parent 4ba2672d84
commit 48f7102e39
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -70,6 +70,7 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
Monero::Utils::onStartup();
// // Enable high DPI scaling on windows & linux // // Enable high DPI scaling on windows & linux
//#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600 //#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
// QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);