From ad888767bbda97f6310d514a006ef86ea0c76ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 23 Feb 2021 21:39:41 +0000 Subject: [PATCH] Use QStringLiteral. --- src/core/fstab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fstab.cpp b/src/core/fstab.cpp index c2d93c9..4ff8e62 100644 --- a/src/core/fstab.cpp +++ b/src/core/fstab.cpp @@ -92,7 +92,7 @@ FstabEntryList readFstabEntries( const QString& fstabPath ) auto mountPoint = unescapeSpaces(splitLine.at(1)); auto fsType = splitLine.at(2); // Options may be omitted in some rare cases like NixOS generated fstab. - auto options = splitLine.length() >= 4 ? splitLine.at(3) : QString::fromLatin1("defaults"); + auto options = splitLine.length() >= 4 ? splitLine.at(3) : QStringLiteral("defaults"); switch (splitLine.length()) { case 4: