mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 21:17:53 +00:00
CResourceTableModel: Make parent directory signifier untranslatable
There's basically no reason to allow translation of this.
This commit is contained in:
@@ -39,7 +39,7 @@ QVariant CResourceTableModel::data(const QModelIndex& rkIndex, int Role) const
|
|||||||
if (Role == Qt::DisplayRole || Role == Qt::ToolTipRole)
|
if (Role == Qt::DisplayRole || Role == Qt::ToolTipRole)
|
||||||
{
|
{
|
||||||
return ((mpCurrentDir && !mpCurrentDir->IsRoot() && rkIndex.row() == 0)
|
return ((mpCurrentDir && !mpCurrentDir->IsRoot() && rkIndex.row() == 0)
|
||||||
? tr("..")
|
? QStringLiteral("..")
|
||||||
: TO_QSTRING(pDir->Name()));
|
: TO_QSTRING(pDir->Name()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user