[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/sublime
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2009-08-20 14:10:09
Message-ID: 1250777409.684295.21587.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1013704 by apaku:
Set a reasonable default size for the mainwindow if no state exists in
the config.
BUG:198478
M +3 -0 mainwindow.cpp
--- trunk/KDE/kdevplatform/sublime/mainwindow.cpp #1013703:1013704
@@ -282,6 +282,9 @@
state = QByteArray::fromBase64(state);
// One day will need to load the version number, but for now, assume 0
restoreState(state);
+ } else {
+ // If there's no state we use a default size of 700x600
+ resize(700,600);
}
KConfigGroup uiGroup = KGlobal::config()->group("UiSettings");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic