enabled query in user context menu - now that the query command is working (thanks...
authorAlexander von Renteln <phon@quassel-irc.org>
Sun, 3 Feb 2008 15:25:31 +0000 (15:25 +0000)
committerAlexander von Renteln <phon@quassel-irc.org>
Sun, 3 Feb 2008 15:25:31 +0000 (15:25 +0000)
src/uisupport/nickview.cpp
version.inc

index 99ba8de..5c5862f 100644 (file)
@@ -95,7 +95,6 @@ void NickView::showContextMenu(const QPoint & pos ) {
   nickContextMenu.addSeparator();
 
   QAction *queryAction = nickContextMenu.addAction(tr("Query"));
-  queryAction->setEnabled(false);
   QAction *dccChatAction = nickContextMenu.addAction(tr("DCC-Chat"));
   dccChatAction->setEnabled(false);
   QAction *sendFileAction = nickContextMenu.addAction(tr("Send file"));
@@ -114,4 +113,5 @@ void NickView::showContextMenu(const QPoint & pos ) {
 
   else if(result == kickAction)     { Client::instance()->userInput(bufferInfo, "/KICK " + username); }
   else if(result == kickBanAction)  { Client::instance()->userInput(bufferInfo, "/KICKBAN " + username); }
+  else if(result == queryAction)    { Client::instance()->userInput(bufferInfo, "/QUERY " + username); }
 }
index 5b7a434..e79ffe4 100644 (file)
@@ -5,7 +5,7 @@
 
   quasselVersion = "0.2.0-pre";
   quasselDate = "2008-02-03";
-  quasselBuild = 449;
+  quasselBuild = 452;
 
   //! Minimum client build number the core needs
   clientBuildNeeded = 437;