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

List:       kde-commits
Subject:    playground/utils/abakus/src
From:       Michael Pyne <mpyne () purinchu ! net>
Date:       2009-06-14 1:43:46
Message-ID: 1244943826.077413.7207.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 981681 by mpyne:

Make abakus restore its last main window size.

Unfortunately this seems to require a kdelibs patch, which will be submitted to -core-devel.


 M  +0 -1      abakus.cpp  
 M  +2 -1      mainwindow.cpp  


--- trunk/playground/utils/abakus/src/abakus.cpp #981680:981681
@@ -74,7 +74,6 @@
     MainWindow *win = new MainWindow;
 
     win->show();
-    win->resize(500, 300);
 
     return app.exec();
 }
--- trunk/playground/utils/abakus/src/mainwindow.cpp #981680:981681
@@ -1,6 +1,6 @@
 /*
  * mainwindow.cpp - part of abakus
- * Copyright (C) 2004, 2005, 2007 Michael Pyne <michael.pyne@kdemail.net>
+ * Copyright (C) 2004, 2005, 2007, 2009 Michael Pyne <mpyne@kde.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -97,6 +97,7 @@
             this, SLOT(slotRemoveValue(const QString &)));
 
     setupLayout();
+    setAutoSaveSettings();
     setupGUI(QSize(450, 400), Keys | StatusBar | Save | Create);
 
     loadConfig();
[prev in list] [next in list] [prev in thread] [next in thread] 

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