Commit 25d2652a authored by Laurent Montel's avatar Laurent Montel 😁

Use emit as all other code use emit and not Q_EMIT

Reviewers: hein

Reviewed By: hein

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent c681a2f6
......@@ -42,11 +42,11 @@ bool ShortCut::eventFilter(QObject *obj, QEvent *e)
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(e);
int keyInt = keyEvent->modifiers() + keyEvent->key();
if (KStandardShortcut::deleteFile().contains(QKeySequence(keyInt))) {
Q_EMIT deleteFile();
emit deleteFile();
} else if (KStandardShortcut::renameFile().contains(QKeySequence(keyInt))) {
Q_EMIT renameFile();
emit renameFile();
} else if (KStandardShortcut::moveToTrash().contains(QKeySequence(keyInt))) {
Q_EMIT moveToTrash();
emit moveToTrash();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment