Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation on Linux
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ModelWidget.cpp
diff --git
a/src/ModuleBase/ModuleBase_ModelWidget.cpp
b/src/ModuleBase/ModuleBase_ModelWidget.cpp
index cf67219928e96d3c8113dece3d4b4e8c584ddead..8a85cd6f49d438e2419fb271686611e9721d456d 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ModelWidget.cpp
+++ b/
src/ModuleBase/ModuleBase_ModelWidget.cpp
@@
-87,7
+87,7
@@
QString ModuleBase_ModelWidget::getValueStateError() const
return anError;
}
return anError;
}
-QString ModuleBase_ModelWidget::getError() const
+QString ModuleBase_ModelWidget::getError(
const bool theValueStateChecked
) const
{
QString anError;
{
QString anError;
@@
-110,7
+110,7
@@
QString ModuleBase_ModelWidget::getError() const
}
anError = QString::fromStdString(anErrorMsg);
}
anError = QString::fromStdString(anErrorMsg);
- if (anError.isEmpty())
+ if (anError.isEmpty()
&& theValueStateChecked
)
anError = getValueStateError();
return anError;
anError = getValueStateError();
return anError;