diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-12 11:56:30 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-12 11:59:20 (GMT) |
commit | f2b93868f48a3e2d6e462ca8a051ab47eefef49d (patch) | |
tree | 4c8dfac6a9dfae0dd519880b656d0758394aed4c /src/gui/kernel/qshortcut.cpp | |
parent | 8134541fc3229177ec7545fa0d3ea49eadc8f00c (diff) | |
download | Qt-f2b93868f48a3e2d6e462ca8a051ab47eefef49d.zip Qt-f2b93868f48a3e2d6e462ca8a051ab47eefef49d.tar.gz Qt-f2b93868f48a3e2d6e462ca8a051ab47eefef49d.tar.bz2 |
QMenu, QMenuBar: small cleanup
Removed calls to the widget getters because we have the members directly
in the private class.
Diffstat (limited to 'src/gui/kernel/qshortcut.cpp')
-rw-r--r-- | src/gui/kernel/qshortcut.cpp | 1 |
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; |