From 17fa75dd07c1da977c11900fcbed89f77a962857 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Fri, 25 Jan 2008 13:25:32 +0000 Subject: [PATCH] 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. --- src/uisupport/tabcompleter.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.20.1