mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
Support for an empty column
This commit is contained in:
@@ -421,5 +421,13 @@ namespace BlackGui
|
||||
if (ok) { return QString::number(i); }
|
||||
return CVariant();
|
||||
}
|
||||
|
||||
CVariant CEmptyFormatter::displayRole(const CVariant &dataCVariant) const
|
||||
{
|
||||
Q_UNUSED(dataCVariant);
|
||||
static const CVariant empty("");
|
||||
return empty;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user