Rework of catalog objects. Several of them are now inheriting from common
base classes that implement common functionality.
This commit is contained in:
parent
840af1e0a9
commit
73c4cf4790
45 changed files with 340 additions and 265 deletions
|
|
@ -49,7 +49,7 @@ namespace NamespaceItemModel_impl {
|
|||
{
|
||||
QVariant v;
|
||||
if (role == Qt::DisplayRole) {
|
||||
v = ns.name;
|
||||
v = ns.objectName();
|
||||
}
|
||||
else if (role == Qt::CheckStateRole) {
|
||||
v = getCheckState();
|
||||
|
|
@ -59,7 +59,7 @@ namespace NamespaceItemModel_impl {
|
|||
|
||||
bool operator < (const LeafNode &rhs) const
|
||||
{
|
||||
return ns.name < rhs.ns.name;
|
||||
return ns.objectName() < rhs.ns.objectName();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue