From: Manuel Nickschas Date: Fri, 25 Jan 2008 13:25:32 +0000 (+0000) Subject: Yet another debugging version of the tabcompleter. Please test and tell us if/when... X-Git-Tag: 0.2.0-alpha1~193 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=17fa75dd07c1da977c11900fcbed89f77a962857;ds=sidebyside Yet another debugging version of the tabcompleter. Please test and tell us if/when Quassel starts going into RAM-eating mode. Please press tab a few times in your channels in the beginning. Tabcompletion won't work probably, but it enables us to make sure that it's that specific part of the code. --- diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index 547bba08..3493b29a 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -55,12 +55,15 @@ void TabCompleter::buildCompletionList() { if(!channel) return; + // FIXME commented for debugging + /* disconnect(this, SLOT(ircUserJoinedOrParted(IrcUser *))); connect(channel, SIGNAL(ircUserJoined(IrcUser *)), this, SLOT(ircUserJoinedOrParted(IrcUser *))); connect(channel, SIGNAL(ircUserParted(IrcUser *)), this, SLOT(ircUserJoinedOrParted(IrcUser *))); - + */ + completionList.clear(); QString tabAbbrev = inputLine->text().left(inputLine->cursorPosition()).section(' ',-1,-1); completionList.clear(); @@ -80,7 +83,6 @@ void TabCompleter::ircUserJoinedOrParted(IrcUser *ircUser) { } void TabCompleter::complete() { - return; // FIXME if(!enabled) { buildCompletionList(); enabled = true;