Skip to content
Permalink
Browse files
Use null string vs empty
  • Loading branch information
NathanW2 committed Nov 17, 2011
1 parent 87418c2 commit aabfdf9d88ca27d9831ca5fc959464e9ff9512cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/main.cpp
@@ -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.