diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-04-02 17:30:14 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-04-02 17:33:48 +0200 |
commit | 1ce0448808d2bcd39e6643be898376238650ebd8 (patch) | |
tree | dd417ec5f6a3e770b6e3c6fd326ed38e6b03189d /src/qt/bitcoin.cpp | |
parent | bcce45e9b012e4efc6a72dae09bc86f75086fed7 (diff) |
Bitcoin-Qt: only use qApp for Q(Core)Application::instance()
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 346128c0c4..2c47f30e92 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -82,14 +82,14 @@ static void InitMessage(const std::string &message) if(splashref) { splashref->showMessage(QString::fromStdString(message), Qt::AlignBottom|Qt::AlignHCenter, QColor(255,255,200)); - QApplication::instance()->processEvents(); + qApp->processEvents(); } printf("init message: %s\n", message.c_str()); } static void QueueShutdown() { - QMetaObject::invokeMethod(QCoreApplication::instance(), "quit", Qt::QueuedConnection); + QMetaObject::invokeMethod(qApp, "quit", Qt::QueuedConnection); } /* |