mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-22 00:06:57 -04:00
typo and as_const
This commit is contained in:
parent
f3943f5877
commit
53c7dd3a22
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user