mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Fixed clazy warnings: empty QStringLiteral.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace BlackMisc
|
||||
|
||||
QString CRemoteFile::getNameAndSize() const
|
||||
{
|
||||
if (!this->hasName()) { return QStringLiteral(""); }
|
||||
if (!this->hasName()) { return {}; }
|
||||
static const QString s("%1 (%2)");
|
||||
return s.arg(this->getName(), this->getSizeHumanReadable());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user