Commit 3b3edc09 authored by Michael Pyne's avatar Michael Pyne

Make abakus restore its last main window size.

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

svn path=/trunk/playground/utils/abakus/; revision=981681
parent 1fea01a0
......@@ -74,7 +74,6 @@ int main(int argc, char **argv)
MainWindow *win = new MainWindow;
win->show();
win->resize(500, 300);
return app.exec();
}
......
/*
* 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 @@ MainWindow::MainWindow() :
this, SLOT(slotRemoveValue(const QString &)));
setupLayout();
setAutoSaveSettings();
setupGUI(QSize(450, 400), Keys | StatusBar | Save | Create);
loadConfig();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment