Use QStringLiteral.
This commit is contained in:
parent
eea84fb605
commit
ad888767bb
|
@ -92,7 +92,7 @@ FstabEntryList readFstabEntries( const QString& fstabPath )
|
||||||
auto mountPoint = unescapeSpaces(splitLine.at(1));
|
auto mountPoint = unescapeSpaces(splitLine.at(1));
|
||||||
auto fsType = splitLine.at(2);
|
auto fsType = splitLine.at(2);
|
||||||
// Options may be omitted in some rare cases like NixOS generated fstab.
|
// 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()) {
|
switch (splitLine.length()) {
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Reference in New Issue