CFilteredResourceModel: Mark use of QStringLiteral

This commit is contained in:
Lioncash 2020-07-10 15:30:35 -04:00
parent dc1b65c7e4
commit 01f7cacc42

View File

@ -64,7 +64,7 @@ public:
{ {
if (Role == Qt::DisplayRole) if (Role == Qt::DisplayRole)
{ {
return TO_QSTRING( pEntry->Name() + "." + pEntry->CookedExtension() ); return TO_QSTRING(pEntry->Name() + '.' + pEntry->CookedExtension());
} }
else if (Role == Qt::ToolTipRole) else if (Role == Qt::ToolTipRole)
{ {
@ -72,7 +72,7 @@ public:
} }
else if (Role == Qt::DecorationRole) else if (Role == Qt::DecorationRole)
{ {
return QIcon(":/icons/Sphere Preview.svg"); return QIcon(QStringLiteral(":/icons/Sphere Preview.svg"));
} }
} }
else else