CResourceTableModel: Make parent directory signifier untranslatable

There's basically no reason to allow translation of this.
This commit is contained in:
Lioncache
2025-12-02 19:53:19 -05:00
parent 2e4ddea65b
commit ea47abb3ca

View File

@@ -39,7 +39,7 @@ QVariant CResourceTableModel::data(const QModelIndex& rkIndex, int Role) const
if (Role == Qt::DisplayRole || Role == Qt::ToolTipRole)
{
return ((mpCurrentDir && !mpCurrentDir->IsRoot() && rkIndex.row() == 0)
? tr("..")
? QStringLiteral("..")
: TO_QSTRING(pDir->Name()));
}