mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
Fixed compiler error.
This commit is contained in:
parent
22dd34dfb3
commit
c6aad2c571
1 changed files with 2 additions and 2 deletions
|
@ -1203,7 +1203,7 @@ void lcMainWindow::SplitView(Qt::Orientation Orientation)
|
||||||
{
|
{
|
||||||
QWidget* Focus = focusWidget();
|
QWidget* Focus = focusWidget();
|
||||||
|
|
||||||
if (typeid(*Focus) != typeid(lcQGLWidget))
|
if (Focus->metaObject() != &lcQGLWidget::staticMetaObject)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QWidget* Parent = Focus->parentWidget();
|
QWidget* Parent = Focus->parentWidget();
|
||||||
|
@ -1251,7 +1251,7 @@ void lcMainWindow::RemoveActiveView()
|
||||||
{
|
{
|
||||||
QWidget* Focus = focusWidget();
|
QWidget* Focus = focusWidget();
|
||||||
|
|
||||||
if (typeid(*Focus) != typeid(lcQGLWidget))
|
if (Focus->metaObject() != &lcQGLWidget::staticMetaObject)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QWidget* Parent = Focus->parentWidget();
|
QWidget* Parent = Focus->parentWidget();
|
||||||
|
|
Loading…
Reference in a new issue