diff options
Diffstat (limited to 'src/gui/guikernel/qshortcutmap.cpp')
-rw-r--r-- | src/gui/guikernel/qshortcutmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guikernel/qshortcutmap.cpp b/src/gui/guikernel/qshortcutmap.cpp index 32b70ed758..d6baa1331e 100644 --- a/src/gui/guikernel/qshortcutmap.cpp +++ b/src/gui/guikernel/qshortcutmap.cpp @@ -876,7 +876,7 @@ void QShortcutMap::dispatchEvent(QKeyEvent *e) << (bool)(enabledShortcuts>1) << ") to object(" << next->owner << ')'; #endif QShortcutEvent se(next->keyseq, next->id, enabledShortcuts>1); - QApplication::sendEvent(const_cast<QObject *>(next->owner), &se); + QCoreApplication::sendEvent(const_cast<QObject *>(next->owner), &se); } /* \internal |