mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Return a default-constructed QString instead of implicitly converting an empty string literal.
This commit is contained in:
@@ -378,7 +378,7 @@ namespace BlackGui
|
||||
QString CGuiApplication::beautifyHelpMessage(const QString &helpText)
|
||||
{
|
||||
// just formatting Qt help message into HTML table
|
||||
if (helpText.isEmpty()) { return ""; }
|
||||
if (helpText.isEmpty()) { return {}; }
|
||||
const QStringList lines(helpText.split('\n'));
|
||||
QString html;
|
||||
bool tableMode = false;
|
||||
|
||||
Reference in New Issue
Block a user