X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.cpp;h=130095d508d15a55b9fec6828301fd16ed989a9c;hb=bd2fb9596ddd44d486a3ff4914bcac045210c498;hp=f2d2a16da0aa16faa4ed21046f29e006c1e6f04c;hpb=96f0f3669892d71fa4a9f1bd10dd71b469bde53d;p=quassel.git diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index f2d2a16d..130095d5 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 }