aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-14 19:45:27 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-14 19:53:19 +0200
commite9abeac20434156e72aae6ff01d854c7d1c7479e (patch)
tree719d77b108771a2fff902c9e54cc279a8b319b22 /src/qt
parent99ae01234d1dd3361a20b6fe759b26e51707115e (diff)
bitcoin: use static QApplication:: instead of app.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index f079f3b0e9..9f0f6209f9 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -140,12 +140,12 @@ int main(int argc, char *argv[])
// Application identification (must be set before OptionsModel is initialized,
// as it is used to locate QSettings)
- app.setOrganizationName("Bitcoin");
- app.setOrganizationDomain("bitcoin.org");
+ QApplication::setOrganizationName("Bitcoin");
+ QApplication::setOrganizationDomain("bitcoin.org");
if(GetBoolArg("-testnet")) // Separate UI settings for testnet
- app.setApplicationName("Bitcoin-Qt-testnet");
+ QApplication::setApplicationName("Bitcoin-Qt-testnet");
else
- app.setApplicationName("Bitcoin-Qt");
+ QApplication::setApplicationName("Bitcoin-Qt");
// ... then GUI settings:
OptionsModel optionsModel;
@@ -201,7 +201,6 @@ int main(int argc, char *argv[])
}
app.processEvents();
-
app.setQuitOnLastWindowClosed(false);
try