mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-02 00:04:53 -04:00
typo and as_const
This commit is contained in:
parent
f3943f5877
commit
53c7dd3a22
@ -430,7 +430,7 @@ APP_EXPORT
|
|||||||
#endif
|
#endif
|
||||||
int main( int argc, char *argv[] )
|
int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
//log messages written before creating QgsApplicatoin
|
//log messages written before creating QgsApplication
|
||||||
QStringList preApplicationLogMessages;
|
QStringList preApplicationLogMessages;
|
||||||
|
|
||||||
#ifdef Q_OS_MACX
|
#ifdef Q_OS_MACX
|
||||||
@ -973,8 +973,8 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
QgsApplication myApp( argc, argv, myUseGuiFlag );
|
QgsApplication myApp( argc, argv, myUseGuiFlag );
|
||||||
|
|
||||||
//write the log messages written before creating QgsApplicatoin
|
//write the log messages written before creating QgsApplication
|
||||||
for ( QString const &preApplicationLogMessage : preApplicationLogMessages )
|
for ( const QString &preApplicationLogMessage : qgis::as_const( preApplicationLogMessages ) )
|
||||||
QgsMessageLog::logMessage( preApplicationLogMessage );
|
QgsMessageLog::logMessage( preApplicationLogMessage );
|
||||||
|
|
||||||
// Settings migration is only supported on the default profile for now.
|
// Settings migration is only supported on the default profile for now.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user