Skip to content
Permalink
Browse files

typo and as_const

  • Loading branch information
signedav committed Dec 4, 2018
1 parent f3943f5 commit 53c7dd3a229c17a5b37b54c9df9053f82d736d5a
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/main.cpp
@@ -430,7 +430,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
@@ -973,8 +973,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 53c7dd3

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