mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Fixed clazy warnings: empty QStringLiteral.
This commit is contained in:
@@ -67,7 +67,7 @@ namespace BlackMisc
|
||||
if (cap.testFlag(FsdWithAircraftConfig)) sl << "aircraft config";
|
||||
if (cap.testFlag(FsdWithGroundFlag)) sl << "gnd.flag";
|
||||
if (cap.testFlag(FsdModelString)) sl << "modelstring";
|
||||
if (sl.isEmpty()) { return QStringLiteral(""); }
|
||||
if (sl.isEmpty()) { return {}; }
|
||||
return sl.join(", ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user