diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-03-02 15:44:37 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-03-03 15:44:01 +0100 |
| commit | 223f09dc94b72b9f56fab7f809e0763b852ae462 (patch) | |
| tree | 7b6983558625ee677de7137c6e5867055b4fb1b9 /main.cpp | |
| parent | 988e2992907459bdba5d421a88e28760eb205557 (diff) | |
| download | monzero-gui-223f09dc94b72b9f56fab7f809e0763b852ae462.tar.gz monzero-gui-223f09dc94b72b9f56fab7f809e0763b852ae462.tar.xz monzero-gui-223f09dc94b72b9f56fab7f809e0763b852ae462.zip | |
preparations for background mining
requires #1827
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -159,6 +159,7 @@ int main(int argc, char *argv[]) // Windows, ~/Monero Accounts/ on nix / osx bool isWindows = false; bool isIOS = false; + bool isMac = false; #ifdef Q_OS_WIN isWindows = true; QStringList moneroAccountsRootDir = QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation); @@ -168,6 +169,10 @@ int main(int argc, char *argv[]) #elif defined(Q_OS_UNIX) QStringList moneroAccountsRootDir = QStandardPaths::standardLocations(QStandardPaths::HomeLocation); #endif +#ifdef Q_OS_MAC + isMac = true; +#endif + engine.rootContext()->setContextProperty("isWindows", isWindows); engine.rootContext()->setContextProperty("isIOS", isIOS); |
