mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -04:00
Allow the window size and location to be saved per profile.
Patch is from Gentoo. BUG: 181129 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1144208
This commit is contained in:
@@ -91,6 +91,8 @@ MainWindow::MainWindow()
|
||||
|
||||
connect( _viewManager , SIGNAL(setMenuBarVisibleRequest(bool)) , this ,
|
||||
SLOT(setMenuBarVisibleOnce(bool)) );
|
||||
connect( _viewManager , SIGNAL(setSaveGeometryOnExitRequest(bool)) , this ,
|
||||
SLOT(setSaveGeometryOnExit(bool)) );
|
||||
connect( _viewManager , SIGNAL(newViewRequest(Profile::Ptr)) ,
|
||||
this , SLOT(newFromProfile(Profile::Ptr)) );
|
||||
connect( _viewManager , SIGNAL(newViewRequest()) ,
|
||||
@@ -141,6 +143,11 @@ void MainWindow::setMenuBarVisibleOnce(bool visible)
|
||||
_menuBarVisibilitySet = true;
|
||||
}
|
||||
|
||||
void MainWindow::setSaveGeometryOnExit(bool save)
|
||||
{
|
||||
setAutoSaveSettings("MainWindow",save);
|
||||
}
|
||||
|
||||
void MainWindow::correctShortcuts()
|
||||
{
|
||||
// replace F1 shortcut for help contents
|
||||
|
||||
Reference in New Issue
Block a user