Skip to content
Permalink
Browse files
Use null string vs empty
  • Loading branch information
NathanW2 committed Nov 17, 2011
1 parent 87418c2 commit aabfdf9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -478,7 +478,7 @@ int main( int argc, char *argv[] )

// Set the application style. If it's not set QT will use the platform style except on Windows
// as it looks really ugly so we use QPlastiqueStyle.
QString style = mySettings.value("/qgis/style","").toString();
QString style = mySettings.value("/qgis/style").toString();
if ( !style.isNull() )
QApplication::setStyle( style );
#ifdef Q_WS_WIN

0 comments on commit aabfdf9

Please sign in to comment.