Plugin toolbars and docks state saving

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9730 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
borysiasty 2008-12-02 23:23:46 +00:00
parent e223a5860f
commit 037b039f1d

View File

@ -1741,8 +1741,6 @@ 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
@ -1750,6 +1748,8 @@ void QgisApp::saveWindowState()
// store window geometry
settings.setValue( "/UI/geometry", saveGeometry() );
QgsPluginRegistry::instance()->unloadAll();
}
void QgisApp::restoreWindowState()