summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qshortcut.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-12 11:56:30 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-12 11:59:20 (GMT)
commitf2b93868f48a3e2d6e462ca8a051ab47eefef49d (patch)
tree4c8dfac6a9dfae0dd519880b656d0758394aed4c /src/gui/kernel/qshortcut.cpp
parent8134541fc3229177ec7545fa0d3ea49eadc8f00c (diff)
downloadQt-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.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;