1
0
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:
kgv
2021-07-06 16:46:31 +03:00
parent 1f3c5058f2
commit 9e5e4c0c84
18 changed files with 38 additions and 49 deletions

View File

@@ -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;
}