remove unimplemented ban action from user context menu
authorsheepluva
Sun, 23 Nov 2014 03:53:25 +0100
changeset 10534 a148229a0158
parent 10533 57b4d411f77d
child 10535 428085a1be6e
remove unimplemented ban action from user context menu
QTfrontend/ui/widget/chatwidget.cpp
--- a/QTfrontend/ui/widget/chatwidget.cpp	Sun Nov 23 03:41:37 2014 +0100
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Sun Nov 23 03:53:25 2014 +0100
@@ -722,14 +722,14 @@
 void HWChatWidget::adminAccess(bool b)
 {
     chatNicks->removeAction(acKick);
-    chatNicks->removeAction(acBan);
+    //chatNicks->removeAction(acBan);
 
     m_isAdmin = b;
 
     if(b)
     {
         chatNicks->insertAction(0, acKick);
-        chatNicks->insertAction(0, acBan);
+        //chatNicks->insertAction(0, acBan);
     }
 }