Yet another debugging version of the tabcompleter. Please test and tell us if/when...
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 25 Jan 2008 13:25:32 +0000 (13:25 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 25 Jan 2008 13:25:32 +0000 (13:25 +0000)
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

index 547bba0..3493b29 100644 (file)
@@ -55,12 +55,15 @@ void TabCompleter::buildCompletionList() {
   if(!channel)
     return;
 
   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 *)));
   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();
   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() {
 }
 
 void TabCompleter::complete() {
-  return; // FIXME
   if(!enabled) {
     buildCompletionList();
     enabled = true;
   if(!enabled) {
     buildCompletionList();
     enabled = true;