mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-23 23:13:30 +00:00
CFilteredResourceModel: Mark use of QStringLiteral
This commit is contained in:
parent
dc1b65c7e4
commit
01f7cacc42
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user