[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kget
From:       Matthias Fuchs <mat69 () gmx ! net>
Date:       2011-08-10 16:18:10
Message-ID: 20110810161811.01C4DAC871 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1246222 by mfuchs:

Setting the size of the name column works now.

The name columns is 230 px by default now, also made mainwindow.cpp
wider to make sure that no scrollbars are shown, at least in the
english version.

 M  +1 -1      mainwindow.cpp  
 M  +2 -2      ui/transfersview.cpp  


--- trunk/KDE/kdenetwork/kget/mainwindow.cpp #1246221:1246222
@@ -113,7 +113,7 @@
 
 QSize MainWindow::sizeHint() const
 {
-    return QSize(720, 380);
+    return QSize(738, 380);
 }
 
 int MainWindow::transfersPercent()
--- trunk/KDE/kdenetwork/kget/ui/transfersview.cpp #1246221:1246222
@@ -77,8 +77,8 @@
     }
 
     QByteArray loadedState = QByteArray::fromBase64(Settings::headerState().toAscii());
-    if (loadedState.isNull()) {
-        setColumnWidth(0 , 250);
+    if (loadedState.isEmpty()) {
+        setColumnWidth(0 , 230);
     } else {
         header()->restoreState(loadedState);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic