forked from qt-creator/qt-creator
QmlDesigner: Remove dead code
Change-Id: Ic52cb1cc87f5903f5969b40588af7783b05f0f6f Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -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)"),
|
||||
|
||||
Reference in New Issue
Block a user