From cfb2f5fdd1e358a855dd2dfca82390bf02079528 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 12 Oct 2011 23:00:29 +0200 Subject: [PATCH] Remove commented out reference to QShortcutMap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I62ca413c4f5e11e5ba91dcbb05d8088ca1d7a2b9 Reviewed-on: http://codereview.qt-project.org/6582 Reviewed-by: Samuel Rødal --- src/gui/text/qtextcontrol.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gui/text/qtextcontrol.cpp b/src/gui/text/qtextcontrol.cpp index 810c7154376..a693f98bc59 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 -//#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