X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.cpp;h=9a8341697e7c7adab553d5a8d2b1fb344d6f3acf;hp=da6b074177378b2fc2804a8bec7b7fd16a716923;hb=2b44b945cf50e3dbfeabe4e5aee10db4b13f5a64;hpb=04315f46a16fc3627218377071e008b6b9744992 diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index da6b0741..9a834169 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -179,7 +179,7 @@ bool TabCompleter::eventFilter(QObject *obj, QEvent *event) QKeyEvent *keyEvent = static_cast(event); - if (keyEvent->key() != GraphicalUi::actionCollection("General")->action("TabCompletionKey")->shortcut()) { + if (keyEvent->key() != GraphicalUi::actionCollection("General")->action("TabCompletionKey")->shortcut()[0]) { reset(); } return false;