diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-12-09 15:35:10 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-12-09 15:36:14 +0100 |
| commit | 6694f4a7a21a2c8250dfd30f17cc528c984ffe58 (patch) | |
| tree | 73739932d060f37fa5d59e2bec932b27f4321b91 /src/qt/bitcoin.cpp | |
| parent | Merge pull request #3373 (diff) | |
| parent | [Qt] misc small Mac related changes/cleanups (diff) | |
| download | discoin-6694f4a7a21a2c8250dfd30f17cc528c984ffe58.tar.xz discoin-6694f4a7a21a2c8250dfd30f17cc528c984ffe58.zip | |
Merge pull request #3297
84f8551 [Qt] misc small Mac related changes/cleanups (Philip Kaufmann)
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 2f9e205c8..2b3bf3bfb 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -200,6 +200,13 @@ int main(int argc, char *argv[]) Q_INIT_RESOURCE(bitcoin); QApplication app(argc, argv); +#if QT_VERSION > 0x050100 + // Generate high-dpi pixmaps + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); +#endif +#ifdef Q_OS_MAC + QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); +#endif // Register meta types used for QMetaObject::invokeMethod qRegisterMetaType< bool* >(); |