aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinamountfield.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/bitcoinamountfield.cpp
parentbcce45e9b012e4efc6a72dae09bc86f75086fed7 (diff)
Bitcoin-Qt: only use qApp for Q(Core)Application::instance()
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
-rw-r--r--src/qt/bitcoinamountfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp
index 4fa2ca508b..b12e296f99 100644
--- a/src/qt/bitcoinamountfield.cpp
+++ b/src/qt/bitcoinamountfield.cpp
@@ -98,7 +98,7 @@ bool BitcoinAmountField::eventFilter(QObject *object, QEvent *event)
{
// Translate a comma into a period
QKeyEvent periodKeyEvent(event->type(), Qt::Key_Period, keyEvent->modifiers(), ".", keyEvent->isAutoRepeat(), keyEvent->count());
- qApp->sendEvent(object, &periodKeyEvent);
+ QApplication::sendEvent(object, &periodKeyEvent);
return true;
}
}