Skip to content
Permalink
Browse files

Plugin toolbars and docks state saving

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9730 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Dec 2, 2008
1 parent e223a58 commit 037b039f1d94b2ff1744bc9322c20765a18f7bfe
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 037b039

Please sign in to comment.