diff --git a/src/providers/virtual/qgsvirtuallayersourceselect.cpp b/src/providers/virtual/qgsvirtuallayersourceselect.cpp index 5e94e88c8412..85106ce53e27 100644 --- a/src/providers/virtual/qgsvirtuallayersourceselect.cpp +++ b/src/providers/virtual/qgsvirtuallayersourceselect.cpp @@ -224,16 +224,16 @@ void QgsVirtualLayerSourceSelect::testQuery() QStringList bulletedFieldNames; for ( const QString &fieldName : fieldNames ) { - bulletedFieldNames.append( QStringLiteral( "
  • %1" ).arg( fieldName ) ); + bulletedFieldNames.append( QLatin1String( "
  • " ) + fieldName + QLatin1String( "
  • " ) ); } - QMessageBox::warning( nullptr, tr( "Virtual layer test " ), tr( "The unique identifier field %1 was not found in list of fields:" ).arg( mUIDField->text(), bulletedFieldNames.join( ' ' ) ) ); + QMessageBox::warning( nullptr, tr( "Test Virtual Layer " ), tr( "The unique identifier field %1 was not found in list of fields:" ).arg( mUIDField->text(), bulletedFieldNames.join( ' ' ) ) ); } else - QMessageBox::information( nullptr, tr( "Virtual layer test" ), tr( "No error" ) ); + QMessageBox::information( nullptr, tr( "Test Virtual Layer" ), tr( "No error" ) ); } else { - QMessageBox::critical( nullptr, tr( "Virtual layer test" ), vl->dataProvider()->error().summary() ); + QMessageBox::critical( nullptr, tr( "Test Virtual Layer" ), vl->dataProvider()->error().summary() ); } } }