aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-02 17:30:14 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-02 17:33:48 +0200
commit1ce0448808d2bcd39e6643be898376238650ebd8 (patch)
treedd417ec5f6a3e770b6e3c6fd326ed38e6b03189d /src/qt/guiutil.cpp
parentbcce45e9b012e4efc6a72dae09bc86f75086fed7 (diff)
Bitcoin-Qt: only use qApp for Q(Core)Application::instance()
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index e56e40c20e..2105f0730e 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -161,9 +161,9 @@ void copyEntryData(QAbstractItemView *view, int column, int role)
if(!selection.isEmpty())
{
// Copy first item (global clipboard)
- qApp->clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Clipboard);
+ QApplication::clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Clipboard);
// Copy first item (global mouse selection for e.g. X11 - NOP on Windows)
- qApp->clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Selection);
+ QApplication::clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Selection);
}
}
@@ -227,7 +227,7 @@ Qt::ConnectionType blockingGUIThreadConnection()
bool checkPoint(const QPoint &p, const QWidget *w)
{
- QWidget *atW = qApp->widgetAt(w->mapToGlobal(p));
+ QWidget *atW = QApplication::widgetAt(w->mapToGlobal(p));
if (!atW) return false;
return atW->topLevelWidget() == w;
}