File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -273,14 +273,15 @@ QgsError Qgs2To3Migration::migrateAuthDb()
273
273
// Do not overwrite!
274
274
if ( QFile ( newAuthDbFilePath ).exists ( ) )
275
275
{
276
- QString msg = QString ( " Could not copy old auth DB to %1: file already exists!" ).arg ( newAuthDbFilePath );
276
+ QString msg = QStringLiteral ( " Could not copy old auth DB to %1: file already exists!" ).arg ( newAuthDbFilePath );
277
277
QgsDebugMsg ( msg );
278
278
error.append ( msg );
279
279
280
280
}
281
281
else
282
282
{
283
- QgsDebugMsg ( QString ( " OLD AUTH DB FILE %1" ).arg ( oldAuthDbFilePath ) );
283
+ QgsDebugMsg ( QStringLiteral ( " OLD AUTH DB FILE %1" ).arg ( oldAuthDbFilePath ) );
284
+ QgsDebugMsg ( QStringLiteral ( " NEW AUTH DB FILE %1" ).arg ( newAuthDbFilePath ) );
284
285
QFile oldDbFile ( oldAuthDbFilePath );
285
286
if ( oldDbFile.exists ( ) )
286
287
{
@@ -290,14 +291,14 @@ QgsError Qgs2To3Migration::migrateAuthDb()
290
291
}
291
292
else
292
293
{
293
- QString msg = QString ( " Could not copy auth DB %1 to %2" ).arg ( oldAuthDbFilePath, newAuthDbFilePath );
294
+ QString msg = QStringLiteral ( " Could not copy auth DB %1 to %2" ).arg ( oldAuthDbFilePath, newAuthDbFilePath );
294
295
QgsDebugMsg ( msg );
295
296
error.append ( msg );
296
297
}
297
298
}
298
299
else
299
300
{
300
- QString msg = QString ( " Could not copy auth DB %1 to %2: old DB does not exists!" ).arg ( oldAuthDbFilePath, newAuthDbFilePath );
301
+ QString msg = QStringLiteral ( " Could not copy auth DB %1 to %2: old DB does not exists!" ).arg ( oldAuthDbFilePath, newAuthDbFilePath );
301
302
QgsDebugMsg ( msg );
302
303
error.append ( msg );
303
304
}
You can’t perform that action at this time.
0 commit comments