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
Get rid of compilation warnings. Part I.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ToolBox.cpp
diff --git
a/src/ModuleBase/ModuleBase_ToolBox.cpp
b/src/ModuleBase/ModuleBase_ToolBox.cpp
index e884203dd36cddaad2d9b68866a55beed94bfdef..2efbf3d3f247959701c9a3433bc99b83abfd2950 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ToolBox.cpp
+++ b/
src/ModuleBase/ModuleBase_ToolBox.cpp
@@
-121,7
+121,6
@@
bool ModuleBase_ToolBox::isOffToolBoxParent(ModuleBase_ModelWidget* theWidget)
while (aParent) {
QStackedWidget* aStackedWidget = dynamic_cast<QStackedWidget*>(aParent);
if (aStackedWidget) {
- int anIndex = aStackedWidget->currentIndex();
isOffToolBox = aStackedWidget->currentWidget() != aWidget;
break;
}