Skip to content
Permalink
Browse files

typo and as_const

(cherry-picked from 53c7dd3)
  • Loading branch information
signedav committed Dec 4, 2018
1 parent d3d5d7e commit a4adbe9d7e7c5161c0b6ccd44d62c39b4c034988
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/main.cpp
@@ -432,7 +432,7 @@ APP_EXPORT
#endif
int main( int argc, char *argv[] )
{
//log messages written before creating QgsApplicatoin
//log messages written before creating QgsApplication
QStringList preApplicationLogMessages;

#ifdef Q_OS_MACX
@@ -975,8 +975,8 @@ int main( int argc, char *argv[] )

QgsApplication myApp( argc, argv, myUseGuiFlag );

//write the log messages written before creating QgsApplicatoin
for ( QString const &preApplicationLogMessage : preApplicationLogMessages )
//write the log messages written before creating QgsApplication
for ( const QString &preApplicationLogMessage : qgis::as_const( preApplicationLogMessages ) )
QgsMessageLog::logMessage( preApplicationLogMessage );

// Settings migration is only supported on the default profile for now.

0 comments on commit a4adbe9

Please sign in to comment.
You can’t perform that action at this time.