Bugfix: Default -uiplatform is not actually the platform this build was compiled on

This commit is contained in:
Luke Dashjr
2015-11-28 21:44:55 +00:00
parent fa41d4c8c6
commit a6cbc02b6b
4 changed files with 14 additions and 9 deletions

View File

@@ -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) :