summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qshortcut.cpp')
-rw-r--r--src/gui/kernel/qshortcut.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qshortcut.cpp b/src/gui/kernel/qshortcut.cpp
index 50b6e59..bced833 100644
--- a/src/gui/kernel/qshortcut.cpp
+++ b/src/gui/kernel/qshortcut.cpp
@@ -163,7 +163,6 @@ public:
void QShortcutPrivate::redoGrab(QShortcutMap &map)
{
Q_Q(QShortcut);
- QWidget *parent = q->parentWidget();
if (!parent) {
qWarning("QShortcut: No widget parent defined");
return;