diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-03-01 15:55:27 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-03-01 20:21:00 +0100 |
| commit | e90c18603a06bf1925b7d3410305fb7137a33042 (patch) | |
| tree | d5d0db119e8ccefe57bbcefe659878bb3af865f8 /main.cpp | |
| parent | e826f7c1ecdcdc1e588e67b07278f7433cd867eb (diff) | |
| download | monzero-gui-e90c18603a06bf1925b7d3410305fb7137a33042.tar.gz monzero-gui-e90c18603a06bf1925b7d3410305fb7137a33042.tar.xz monzero-gui-e90c18603a06bf1925b7d3410305fb7137a33042.zip | |
Fix high DPI scaling
not android
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
