Commit b5d0bcbb authored by Elvis Angelaccio's avatar Elvis Angelaccio

Stop using empty QStringLiterals

parent 53ff91a1
......@@ -225,7 +225,7 @@ void CopyTest::testCopying_data()
new Archive::Entry(this, QStringLiteral("dir1/dir/a.txt")),
new Archive::Entry(this, QStringLiteral("dir1/dir/b.txt"))
},
new Archive::Entry(this, QStringLiteral("")),
new Archive::Entry(this, QString()),
QStringList {
QStringLiteral("dir/"),
QStringLiteral("dir/a.txt"),
......
......@@ -92,7 +92,7 @@ void CliPlugin::setupCliProperties()
m_cliProps->setProperty("compressionLevelSwitch", QStringLiteral("-mx=$CompressionLevel"));
m_cliProps->setProperty("compressionMethodSwitch", QHash<QString,QVariant>{{QStringLiteral("application/x-7z-compressed"), QStringLiteral("-m0=$CompressionMethod")},
{QStringLiteral("application/zip"), QStringLiteral("-mm=$CompressionMethod")}});
m_cliProps->setProperty("encryptionMethodSwitch", QHash<QString,QVariant>{{QStringLiteral("application/x-7z-compressed"), QStringLiteral()},
m_cliProps->setProperty("encryptionMethodSwitch", QHash<QString,QVariant>{{QStringLiteral("application/x-7z-compressed"), QString()},
{QStringLiteral("application/zip"), QStringLiteral("-mem=$EncryptionMethod")}});
m_cliProps->setProperty("multiVolumeSwitch", QStringLiteral("-v$VolumeSizek"));
......
......@@ -287,7 +287,7 @@ void CliPlugin::handleUnrar5Entry()
e->setProperty("version", compression.left(optionPos).trimmed());
} else {
// No method specified.
e->setProperty("method", QStringLiteral(""));
e->setProperty("method", QString());
e->setProperty("version", compression);
}
......
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