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
Compilation fix
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_PageGroupBox.cpp
diff --git
a/src/ModuleBase/ModuleBase_PageGroupBox.cpp
b/src/ModuleBase/ModuleBase_PageGroupBox.cpp
index d50d3a594f08c08df1c6751299178909bf82a54c..6d0d55acfa4d5934daa6c813a240089e6b57b629 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PageGroupBox.cpp
+++ b/
src/ModuleBase/ModuleBase_PageGroupBox.cpp
@@
-39,10
+39,9
@@
void ModuleBase_PageGroupBox::placeModelWidget(ModuleBase_ModelWidget* theWidget
}
}
-void ModuleBase_PageGroupBox::place
PageWidget(ModuleBase_PageBase
* theWidget)
+void ModuleBase_PageGroupBox::place
Widget(QWidget
* theWidget)
{
{
- QWidget* aWidget = dynamic_cast<QWidget*>(theWidget);
- if (!aWidget) {
+ if (!theWidget) {
#ifdef _DEBUG
std::cout << "ModuleBase_PageGroupBox::placePageWidget: can not cast page" << std::endl;
#endif
#ifdef _DEBUG
std::cout << "ModuleBase_PageGroupBox::placePageWidget: can not cast page" << std::endl;
#endif
@@
-50,7
+49,7
@@
void ModuleBase_PageGroupBox::placePageWidget(ModuleBase_PageBase* theWidget)
}
const int kCol = 0;
const int kRow = myMainLayout->count();
}
const int kCol = 0;
const int kRow = myMainLayout->count();
- myMainLayout->addWidget(
a
Widget, kRow, kCol);
+ myMainLayout->addWidget(
the
Widget, kRow, kCol);
myMainLayout->setRowStretch(kRow, 0);
}
myMainLayout->setRowStretch(kRow, 0);
}