Commit a754220a authored by Laurent Montel's avatar Laurent Montel 😁

Port to QStringLiteral

parent bc1a04c9
......@@ -182,7 +182,7 @@ void TimeSpinBox::setValid(bool valid)
{
mInvalid = true;
SpinBox2::setMinimum(mMinimumValue - 1);
setSpecialValueText(QLatin1String("**:**"));
setSpecialValueText(QStringLiteral("**:**"));
SpinBox2::setValue(mMinimumValue - 1);
}
}
......
......@@ -37,9 +37,9 @@
int main(int argc, char* argv[])
{
Kdelibs4ConfigMigrator migrate(QLatin1String("kalarm"));
migrate.setConfigFiles(QStringList() << QLatin1String("kalarmrc"));
migrate.setUiFiles(QStringList() << QLatin1String("kalarmui.rc"));
Kdelibs4ConfigMigrator migrate(QStringLiteral("kalarm"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kalarmrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kalarmui.rc"));
migrate.migrate();
KLocalizedString::setApplicationDomain("kalarm");
......@@ -148,7 +148,7 @@ int Version()
{
static int version = 0;
if (!version)
version = KAlarmCal::getVersionNumber(QLatin1String(KALARM_VERSION));
version = KAlarmCal::getVersionNumber(QStringLiteral(KALARM_VERSION));
return version;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment