aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-01-23 21:51:02 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-03-17 18:28:00 +0100
commit32af5266cfc604a32ed90b6099f8b2fb308d6c15 (patch)
tree29624cf171b29d8f6970366617470f5d6a33cb5a /src/qt/paymentserver.cpp
parent1a9ee5da327d8079a297ad292a1c16745b75df91 (diff)
Bitcoin-Qt: massive header and cpp cleanup
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r--src/qt/paymentserver.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index 05f2ac10e4..a92e6fc329 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -2,14 +2,15 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#include <QApplication>
+
#include "paymentserver.h"
+
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
-#include <QApplication>
#include <QByteArray>
-#include <QCoreApplication>
#include <QDataStream>
#include <QDebug>
#include <QFileOpenEvent>
@@ -59,7 +60,7 @@ bool PaymentServer::ipcSendCommandLine()
{
bool fResult = false;
- const QStringList& args = QCoreApplication::arguments();
+ const QStringList& args = qApp->arguments();
for (int i = 1; i < args.size(); i++)
{
if (!args[i].startsWith(BITCOIN_IPC_PREFIX, Qt::CaseInsensitive))