Commit 17e21f64 authored by Laurent Montel's avatar Laurent Montel 😁

remove some clazy warning

parent 86ba8ebc
......@@ -97,7 +97,7 @@ bool GetInfo_IRQ(QTreeWidget* tree) {
}
bool GetInfo_DMA(QTreeWidget* tree) {
QFile file(QString::fromLatin1(INFO_DMA));
QFile file(QLatin1String(INFO_DMA));
QStringList headers;
headers << i18n("DMA-Channel") << i18n("Used By");
......
......@@ -239,17 +239,17 @@ void View1394::rescanBus() {
QString speedStr;
switch (speed) {
case (3):
speedStr=QLatin1String("800");
speedStr=QStringLiteral("800");
break;
case (2):
speedStr=QLatin1String("400");
speedStr=QStringLiteral("400");
break;
case (1):
speedStr=QLatin1String("200");
speedStr=QStringLiteral("200");
break;
case (0):
default:
speedStr=QLatin1String("100");
speedStr=QStringLiteral("100");
break;
}
......
......@@ -42,7 +42,7 @@ KicApp::KicApp(int &argc, char **argv)
const auto displayName = i18n("Info Center");
KAboutData aboutData( QStringLiteral("kinfocenter"), displayName,
QString::fromLatin1(PROJECT_VERSION), displayName, KAboutLicense::GPL,
QLatin1String(PROJECT_VERSION), displayName, KAboutLicense::GPL,
i18n("Copyright 2009-2018 KDE"));
aboutData.addAuthor(i18n("David Hubner"),i18n("Current Maintainer"), QStringLiteral("hubnerd@ntlworld.com"));
......
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