Skip to content
Permalink
Browse files

Minor change: QString -> QStringLiteral in some debug messages

  • Loading branch information
elpaso committed Nov 6, 2017
1 parent 7e69936 commit d9b4ae56bd4764b430fa75b54d7d4312db66c770
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/app/qgsversionmigration.cpp
@@ -273,14 +273,15 @@ QgsError Qgs2To3Migration::migrateAuthDb()
// Do not overwrite!
if ( QFile( newAuthDbFilePath ).exists( ) )
{
QString msg = QString( "Could not copy old auth DB to %1: file already exists!" ).arg( newAuthDbFilePath );
QString msg = QStringLiteral( "Could not copy old auth DB to %1: file already exists!" ).arg( newAuthDbFilePath );
QgsDebugMsg( msg );
error.append( msg );

}
else
{
QgsDebugMsg( QString( "OLD AUTH DB FILE %1" ).arg( oldAuthDbFilePath ) );
QgsDebugMsg( QStringLiteral( "OLD AUTH DB FILE %1" ).arg( oldAuthDbFilePath ) );
QgsDebugMsg( QStringLiteral( "NEW AUTH DB FILE %1" ).arg( newAuthDbFilePath ) );
QFile oldDbFile( oldAuthDbFilePath );
if ( oldDbFile.exists( ) )
{
@@ -290,14 +291,14 @@ QgsError Qgs2To3Migration::migrateAuthDb()
}
else
{
QString msg = QString( "Could not copy auth DB %1 to %2" ).arg( oldAuthDbFilePath, newAuthDbFilePath );
QString msg = QStringLiteral( "Could not copy auth DB %1 to %2" ).arg( oldAuthDbFilePath, newAuthDbFilePath );
QgsDebugMsg( msg );
error.append( msg );
}
}
else
{
QString msg = QString( "Could not copy auth DB %1 to %2: old DB does not exists!" ).arg( oldAuthDbFilePath, newAuthDbFilePath );
QString msg = QStringLiteral( "Could not copy auth DB %1 to %2: old DB does not exists!" ).arg( oldAuthDbFilePath, newAuthDbFilePath );
QgsDebugMsg( msg );
error.append( msg );
}

0 comments on commit d9b4ae5

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