Ref T478, removed the critical functions + adjustments

The code was never used as we decided not to translate swift, but do it all in English. So that code branch was never executed and I have removed the above 4 function + required adjustments.

* getTranslationContextChar
* getColumnNameChar
* getColumnToolTipChar
* getTranslationContextChar
This commit is contained in:
Klaus Basan
2018-12-21 10:18:04 +01:00
committed by Mat Sutcliffe
parent da0e021332
commit 4aec50ccfc
5 changed files with 11 additions and 64 deletions

View File

@@ -497,8 +497,7 @@ namespace BlackGui
// then name here is mainly set for debugging purposes so each model can be identified
Q_ASSERT(m_model);
QTableView::setObjectName(name);
const QString modelName = QString(name).append(':').append(m_model->getTranslationContext());
m_model->setObjectName(modelName);
m_model->setObjectName(name);
}
template <class T>