Commit 5bc0d374 authored by Tobias Hunger's avatar Tobias Hunger

QmlDesigner: Remove dead code

Change-Id: Ic52cb1cc87f5903f5969b40588af7783b05f0f6f
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 8db0a1b6
......@@ -83,18 +83,6 @@
namespace QmlDesigner {
static bool hasQtQuick1(NodeInstanceView *nodeInstanceView)
{
if (nodeInstanceView && nodeInstanceView->model()) {
foreach (const Import &import ,nodeInstanceView->model()->imports()) {
if (import.url() == QLatin1String("QtQuick") && import.version().toDouble() < 2.0)
return true;
}
}
return false;
}
static void showCannotConnectToPuppetWarningAndSwitchToEditMode()
{
Core::AsynchronousMessageBox::warning(QCoreApplication::translate("NodeInstanceServerProxy", "Cannot Connect to QML Emulation Layer (QML Puppet)"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment