mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Fixed clazy warnings: empty QStringLiteral.
This commit is contained in:
@@ -89,7 +89,7 @@ namespace BlackGui
|
||||
if (column.getFormatter()->supportsRole(Qt::DecorationRole))
|
||||
{
|
||||
const QIcon icon = column.getFormatter()->decorationRole(v).toPixmap();
|
||||
si = new QStandardItem(icon, QStringLiteral(""));
|
||||
si = new QStandardItem(icon, QString());
|
||||
}
|
||||
else if (column.getFormatter()->supportsRole(Qt::DisplayRole))
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@ namespace BlackGui
|
||||
|
||||
const CVariant &CDefaultFormatter::emptyStringVariant()
|
||||
{
|
||||
static const CVariant e = CVariant::from(QStringLiteral(""));
|
||||
static const CVariant e = CVariant::from(QString());
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user