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/bitcoinamountfield.cpp | |
parent | bcce45e9b012e4efc6a72dae09bc86f75086fed7 (diff) |
Bitcoin-Qt: only use qApp for Q(Core)Application::instance()
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
-rw-r--r-- | src/qt/bitcoinamountfield.cpp | 2 |
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; } } |