diff options
| author | Luke Dashjr <[email protected]> | 2015-11-28 21:44:55 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2015-11-28 21:48:17 +0000 |
| commit | a6cbc02b6b279dc0ed11e007ba84a6b09bdcd740 (patch) | |
| tree | 459ca7d6484b6673909e624b13206f6f5f71728b /src/qt/bitcoingui.cpp | |
| parent | [qt] Move GUI related HelpMessage() part downstream (diff) | |
| download | discoin-a6cbc02b6b279dc0ed11e007ba84a6b09bdcd740.tar.xz discoin-a6cbc02b6b279dc0ed11e007ba84a6b09bdcd740.zip | |
Bugfix: Default -uiplatform is not actually the platform this build was compiled on
Diffstat (limited to 'src/qt/bitcoingui.cpp')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 6f9f6e90d..853a29e66 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -59,6 +59,16 @@ #include <QUrlQuery> #endif +const std::string BitcoinGUI::DEFAULT_UIPLATFORM = +#if defined(Q_OS_MAC) + "macosx" +#elif defined(Q_OS_WIN) + "windows" +#else + "other" +#endif + ; + const QString BitcoinGUI::DEFAULT_WALLET = "~Default"; BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent) : |