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

List:       kde-commits
Subject:    KDE/kdenetwork/kget/ui
From:       Lukas Appelhans <l.appelhans () gmx ! de>
Date:       2011-08-19 19:47:56
Message-ID: 20110819194756.9D766AC876 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1248125 by lappelhans:

Add size hint for GroupSettings

 M  +7 -0      groupsettingsdialog.cpp  
 M  +2 -0      groupsettingsdialog.h  


--- trunk/KDE/kdenetwork/kget/ui/groupsettingsdialog.cpp #1248124:1248125
@@ -56,6 +56,13 @@
 {
 }
 
+QSize GroupSettingsDialog::sizeHint() const
+{
+    QSize sh = KDialog::sizeHint();
+    sh.setWidth(sh.width() * 1.4);
+    return sh;
+}
+
 void GroupSettingsDialog::save()
 {
     //check needed, otherwise "/" would be added as folder if the line was empty!
--- trunk/KDE/kdenetwork/kget/ui/groupsettingsdialog.h #1248124:1248125
@@ -30,6 +30,8 @@
         GroupSettingsDialog(QWidget *parent, TransferGroupHandler *group);
         ~GroupSettingsDialog();
 
+        QSize sizeHint() const;
+
     private slots:
         void save();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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