mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T442, style
This commit is contained in:
@@ -53,12 +53,12 @@ namespace BlackGui
|
||||
|
||||
if (role == Qt::DisplayRole)
|
||||
{
|
||||
QString header = m_columns.at(section).getColumnName(false);
|
||||
const QString header = m_columns.at(section).getColumnName(false);
|
||||
return QVariant(header);
|
||||
}
|
||||
if (role == Qt::ToolTipRole)
|
||||
{
|
||||
QString header = m_columns.at(section).getColumnToolTip(false);
|
||||
const QString header = m_columns.at(section).getColumnToolTip(false);
|
||||
return header.isEmpty() ? QVariant() : QVariant(header);
|
||||
}
|
||||
return QVariant();
|
||||
|
||||
Reference in New Issue
Block a user