mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
* Fix #3488 ; extracted new translations * Make operators translatable, too
This commit is contained in:
parent
463ef13fe0
commit
4eda7cda9e
7 changed files with 1216 additions and 1019 deletions
|
|
@ -128,10 +128,7 @@ QVariant FilterTreeModel::data(const QModelIndex &index, int role) const
|
|||
case Qt::ToolTipRole:
|
||||
case Qt::StatusTipRole:
|
||||
case Qt::WhatsThisRole:
|
||||
if (!node->isLeaf())
|
||||
return tr(node->textCStr());
|
||||
else
|
||||
return node->text();
|
||||
return node->text();
|
||||
case Qt::CheckStateRole:
|
||||
if (node->isEnabled())
|
||||
return Qt::Checked;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue