mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
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:
committed by
Mat Sutcliffe
parent
da0e021332
commit
4aec50ccfc
@@ -52,13 +52,11 @@ namespace BlackGui
|
||||
|
||||
if (role == Qt::DisplayRole)
|
||||
{
|
||||
const QString header = m_columns.at(section).getColumnName(false);
|
||||
return QVariant(header);
|
||||
return QVariant(m_columns.at(section).getColumnName());
|
||||
}
|
||||
if (role == Qt::ToolTipRole)
|
||||
{
|
||||
const QString header = m_columns.at(section).getColumnToolTip(false);
|
||||
return header.isEmpty() ? QVariant() : QVariant(header);
|
||||
return QVariant(m_columns.at(section).getColumnToolTip());
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
@@ -135,11 +133,6 @@ namespace BlackGui
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CListModelBaseNonTemplate::getTranslationContext() const
|
||||
{
|
||||
return m_columns.getTranslationContext();
|
||||
}
|
||||
|
||||
Qt::DropActions CListModelBaseNonTemplate::supportedDragActions() const
|
||||
{
|
||||
return isOrderable() ? Qt::CopyAction | Qt::MoveAction : Qt::CopyAction;
|
||||
|
||||
Reference in New Issue
Block a user