]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
Increase the max length of the entries on the window list.
authorwodim <redacted>
Sat, 26 Dec 2015 22:09:30 +0000 (23:09 +0100)
committerwodim <redacted>
Sat, 26 Dec 2015 22:10:06 +0000 (23:10 +0100)
src/kvirc/ui/KviWindowStack.cpp

index dbc2229b941940cb1acf70c2a21919c64677b05f..714cafa6d408eb37fc1f3987bce2d2d8d354e219 100644 (file)
@@ -130,10 +130,10 @@ void KviWindowStack::fillWindowPopup()
                szItem+=". ";
 
                szCaption = pWnd->windowTitle();
-               if(szCaption.length() > 30)
+               if(szCaption.length() > 60)
                {
-                       QString trail = szCaption.right(12);
-                       szCaption.truncate(12);
+                       QString trail = szCaption.right(27);
+                       szCaption.truncate(27);
                        szCaption+="...";
                        szCaption+=trail;
                }