Fixed build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-07-26 16:51:38 +03:00
parent 75c57628ce
commit 7b7ef6c0e2

View File

@ -170,7 +170,7 @@ void DialogEndLine::ChosenObject(quint32 id, const SceneObject &type)
vis->VisualMode(id); vis->VisualMode(id);
VAbstractMainWindow *window = qobject_cast<VAbstractMainWindow *>(qApp->getMainWindow()); VAbstractMainWindow *window = qobject_cast<VAbstractMainWindow *>(qApp->getMainWindow());
SCASSERT(window != nullptr); SCASSERT(window != nullptr);
connect(vis, &Visualization::ToolTip, window, &VAbstractMainWindow::ShowToolTip); connect(vis.data(), &Visualization::ToolTip, window, &VAbstractMainWindow::ShowToolTip);
prepare = true; prepare = true;
} }
} }