From 7b7ef6c0e22d7f7e1be9b2c1c9ffc3702e22d3b0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 26 Jul 2016 16:51:38 +0300 Subject: [PATCH] Fixed build. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogendline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/dialogs/tools/dialogendline.cpp b/src/libs/vtools/dialogs/tools/dialogendline.cpp index 422388c3a..4d45c0532 100644 --- a/src/libs/vtools/dialogs/tools/dialogendline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogendline.cpp @@ -170,7 +170,7 @@ void DialogEndLine::ChosenObject(quint32 id, const SceneObject &type) vis->VisualMode(id); VAbstractMainWindow *window = qobject_cast(qApp->getMainWindow()); SCASSERT(window != nullptr); - connect(vis, &Visualization::ToolTip, window, &VAbstractMainWindow::ShowToolTip); + connect(vis.data(), &Visualization::ToolTip, window, &VAbstractMainWindow::ShowToolTip); prepare = true; } }