mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0032429: Coding - Warnings during compilation on macosx arm64 with option BUILD_Inspector:BOOL=ON - part 2
This commit is contained in:
@@ -162,7 +162,9 @@ QModelIndex TreeModel_ModelBase::parent (const QModelIndex& theIndex) const
|
||||
Qt::ItemFlags TreeModel_ModelBase::flags (const QModelIndex& theIndex) const
|
||||
{
|
||||
if (!theIndex.isValid())
|
||||
return 0;
|
||||
{
|
||||
return Qt::ItemFlags();
|
||||
}
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user