1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-03 07:19:03 +01:00

Fix high DPI scaling

not android
This commit is contained in:
Jaquee 2017-03-01 15:55:27 +01:00
parent e826f7c1ec
commit e90c18603a

View File

@ -64,6 +64,10 @@ 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)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Monero::Wallet::init(argv[0], "monero-wallet-gui");
qInstallMessageHandler(messageHandler);