mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:17:20 +08:00
Issue #77 Move GlobalIndex enum from CPropertyIndex to CPropertyIndexRef
This commit is contained in:
@@ -84,7 +84,7 @@ namespace BlackGui
|
||||
|
||||
CColumn CColumn::emptyColumn()
|
||||
{
|
||||
CColumn col = CColumn("", "", CPropertyIndex::GlobalIndexEmpty, new CEmptyFormatter());
|
||||
CColumn col = CColumn("", "", CPropertyIndexRef::GlobalIndexEmpty, new CEmptyFormatter());
|
||||
col.setWidthPercentage(1);
|
||||
return col;
|
||||
}
|
||||
@@ -276,7 +276,7 @@ namespace BlackGui
|
||||
{
|
||||
if (m_columns.isEmpty()) { return false; }
|
||||
const CColumn c = m_columns.last();
|
||||
return c.getPropertyIndex() == CPropertyIndex::GlobalIndexEmpty;
|
||||
return c.getPropertyIndex() == CPropertyIndexRef::GlobalIndexEmpty;
|
||||
}
|
||||
|
||||
const CDefaultFormatter *CColumns::getFormatter(const QModelIndex &index) const
|
||||
|
||||
Reference in New Issue
Block a user