summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-10-12 23:00:29 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-14 16:22:00 +0200
commitcfb2f5fdd1e358a855dd2dfca82390bf02079528 (patch)
tree25d5c3ae1c1970008bcb17b942f7fb678e842c4f /src
parentd5aa4355f143e6f7fda6ace3fa6a564fcdc4493c (diff)
Remove commented out reference to QShortcutMap
Change-Id: I62ca413c4f5e11e5ba91dcbb05d8088ca1d7a2b9 Reviewed-on: http://codereview.qt-project.org/6582 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/text/qtextcontrol.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/text/qtextcontrol.cpp b/src/gui/text/qtextcontrol.cpp
index 810c715437..a693f98bc5 100644
--- a/src/gui/text/qtextcontrol.cpp
+++ b/src/gui/text/qtextcontrol.cpp
@@ -76,15 +76,6 @@
const int textCursorWidth = 1;
const bool fullWidthSelection = true;
-//#ifndef QT_NO_SHORTCUT
-//#include "private/QGuiApplication_p.h"
-//#include "private/qshortcutmap_p.h"
-//#include <qkeysequence.h>
-//#define ACCEL_KEY(k) (!qApp->d_func()->shortcutMap.hasShortcutForKeySequence(k) ? QLatin1Char('\t') + QString(QKeySequence(k)) : QString())
-//#else
-//#define ACCEL_KEY(k) QString()
-//#endif
-
QT_BEGIN_NAMESPACE
#ifndef QT_NO_CONTEXTMENU