Fix ambiguous shortcut warning message
This is done in QAction::event(), not eventFilter(). Change-Id: Idc5d7864d259dcf035543c40c8e7b6acd86bde9b Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
99f93cca27
commit
f1d2c20a27
@ -1088,7 +1088,7 @@ QAction::event(QEvent *e)
|
||||
"QAction::event",
|
||||
"Received shortcut event from incorrect shortcut");
|
||||
if (se->isAmbiguous())
|
||||
qWarning("QAction::eventFilter: Ambiguous shortcut overload: %s", se->key().toString(QKeySequence::NativeText).toLatin1().constData());
|
||||
qWarning("QAction::event: Ambiguous shortcut overload: %s", se->key().toString(QKeySequence::NativeText).toLatin1().constData());
|
||||
else
|
||||
activate(Trigger);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user