Skip to content
Permalink
Browse files
Plugin toolbars and docks state saving
git-svn-id: http://svn.osgeo.org/qgis/trunk@9730 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Dec 2, 2008
1 parent 635abe2 commit 5c6132621d4506f61736428c8c8cea5f3a69c723
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -1741,15 +1741,15 @@ void QgisApp::saveRecentProjectPath( QString projectPath, QSettings & settings )

void QgisApp::saveWindowState()
{
QgsPluginRegistry::instance()->unloadAll();

// store window and toolbar positions
QSettings settings;
// store the toolbar/dock widget settings using Qt4 settings API
settings.setValue( "/UI/state", this->saveState() );

// store window geometry
settings.setValue( "/UI/geometry", saveGeometry() );

QgsPluginRegistry::instance()->unloadAll();
}

void QgisApp::restoreWindowState()

0 comments on commit 5c61326

Please sign in to comment.