From 951cd716c8c84f4ad340c9fbd57f0d9d4aa3f951 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Fri, 9 May 2014 21:38:37 +0200 Subject: [PATCH] Fix build on KDE Oops. This wouldn't have happened with 'auto' :P --- src/uisupport/tabcompleter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index f2d2a16d..5cc80c9d 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -49,7 +49,7 @@ TabCompleter::TabCompleter(MultiLineEdit *_lineEdit) // apparently, using tab as an Action shortcut in an input widget is unreliable on some platforms (e.g. OS/2) _lineEdit->installEventFilter(this); ActionCollection *coll = GraphicalUi::actionCollection("General"); - Action *a = coll->addAction("TabCompletionKey", new Action(tr("Tab completion"), coll, + QAction *a = coll->addAction("TabCompletionKey", new Action(tr("Tab completion"), coll, this, SLOT(onTabCompletionKey()), QKeySequence(Qt::Key_Tab))); a->setEnabled(false); // avoid catching the shortcut } -- 2.20.1