[QGIS Commit] r13903 - trunk/qgis/src/app/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jul 9 08:29:18 EDT 2010


Author: jef
Date: 2010-07-09 12:29:18 +0000 (Fri, 09 Jul 2010)
New Revision: 13903

Modified:
   trunk/qgis/src/app/composer/qgscomposer.cpp
Log:
fix #2879

Modified: trunk/qgis/src/app/composer/qgscomposer.cpp
===================================================================
--- trunk/qgis/src/app/composer/qgscomposer.cpp	2010-07-08 13:45:20 UTC (rev 13902)
+++ trunk/qgis/src/app/composer/qgscomposer.cpp	2010-07-09 12:29:18 UTC (rev 13903)
@@ -1048,7 +1048,7 @@
   QSettings settings;
   restoreGeometry( settings.value( "/Composer/geometry" ).toByteArray() );
   QVariant splitterState = settings.value( "/Composer/splitterState" );
-  if ( splitterState != QVariant::QVariant() )
+  if ( !splitterState.isNull() )
   {
     //mSplitter->restoreState(settings.value("/Composer/splitterState").toByteArray());
   }



More information about the QGIS-commit mailing list