summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Sitter <[email protected]>2018-09-27 10:42:11 +0200
committerHarald Sitter <[email protected]>2018-09-27 10:42:11 +0200
commit7230b1804139dedb40aea87206ca47fe1dbaf316 (patch)
tree3d3a2b8499819e2af15d34a773ffaef8f95c8815
parentaa91617e79e7f98fc4b9fdaa4eef8133b09c8005 (diff)
port to QStringLiteral
KMsgBox::info has no QLatin1String accepting override, so QStringLiteral is generally the preferred choice here.
-rw-r--r--gui/ksysguard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ksysguard.cpp b/gui/ksysguard.cpp
index 8cf73bc..5607b96 100644
--- a/gui/ksysguard.cpp
+++ b/gui/ksysguard.cpp
@@ -158,7 +158,8 @@ void TopLevel::toggleShowMenuBar()
const QString accel = mShowMenuBarAction->shortcut().toString();
KMessageBox::information(this, i18n("This will hide the menu bar completely."
" You can show it again by typing %1.", accel),
- i18n("Hide menu bar"), QLatin1String("HideMenuBarWarning"));
+ i18n("Hide menu bar"),
+ QStringLiteral("HideMenuBarWarning"));
menuBar()->hide();
}
}