Use KMainWindow's provided facilities to save and restore window size instead of trying to record the line/column size of the last closed session which produces the wrong results for various reasons.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700456
This commit is contained in:
Robert Knight
2007-08-15 15:41:59 +00:00
parent 95d479b601
commit 978403797e
3 changed files with 13 additions and 5 deletions

View File

@@ -83,6 +83,9 @@ MainWindow::MainWindow()
// replace standard shortcuts which cannot be used in a terminal
// (as they are reserved for use by terminal programs)
correctShortcuts();
// enable save and restore of window size
setAutoSaveSettings("MainWindow",true);
}
void MainWindow::correctShortcuts()