mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 13:14:22 -04:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user