[QGIS Commit] r9730 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Dec 2 18:23:46 EST 2008
Author: borysiasty
Date: 2008-12-02 18:23:46 -0500 (Tue, 02 Dec 2008)
New Revision: 9730
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
Plugin toolbars and docks state saving
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2008-12-02 23:09:55 UTC (rev 9729)
+++ trunk/qgis/src/app/qgisapp.cpp 2008-12-02 23:23:46 UTC (rev 9730)
@@ -1741,8 +1741,6 @@
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 @@
// store window geometry
settings.setValue( "/UI/geometry", saveGeometry() );
+
+ QgsPluginRegistry::instance()->unloadAll();
}
void QgisApp::restoreWindowState()
More information about the QGIS-commit
mailing list