Merge pull request #647

0508442 Disable high dpi auto scaling (Jaquee)
This commit is contained in:
Riccardo Spagni 2017-04-24 11:22:47 +02:00
commit 115102624e
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -68,11 +68,11 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
int main(int argc, char *argv[])
{
// Enable high DPI scaling on windows & linux
#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
qDebug() << "High DPI auto scaling - enabled";
#endif
// // Enable high DPI scaling on windows & linux
//#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
// QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
// qDebug() << "High DPI auto scaling - enabled";
//#endif
// Log settings
Monero::Wallet::init(argv[0], "monero-wallet-gui");