Remove commented out reference to QShortcutMap
authorLars Knoll <lars.knoll@nokia.com>
Wed, 12 Oct 2011 21:00:29 +0000 (23:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 14 Oct 2011 14:22:00 +0000 (16:22 +0200)
Change-Id: I62ca413c4f5e11e5ba91dcbb05d8088ca1d7a2b9
Reviewed-on: http://codereview.qt-project.org/6582
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/text/qtextcontrol.cpp

index 810c715..a693f98 100644 (file)
 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