From 5c67e102539049eb16a56b8386d8480d58acf60d Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Wed, 24 Nov 2010 12:34:32 +0100 Subject: [PATCH] QmlObserver: Apply changes to file also if not in Debug mode Also apply changes to the .qml file in e.g. the Design mode to the running application. --- src/plugins/qmljsinspector/qmljslivetextpreview.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/qmljsinspector/qmljslivetextpreview.cpp b/src/plugins/qmljsinspector/qmljslivetextpreview.cpp index 966ac15e8f0..ee660d28695 100644 --- a/src/plugins/qmljsinspector/qmljslivetextpreview.cpp +++ b/src/plugins/qmljsinspector/qmljslivetextpreview.cpp @@ -517,12 +517,6 @@ void QmlJSLiveTextPreview::documentChanged(QmlJS::Document::Ptr doc) if (doc->fileName() != m_previousDoc->fileName() || m_clientProxy.isNull()) return; - Core::ICore *core = Core::ICore::instance(); - const int dbgcontext = core->uniqueIDManager()->uniqueIdentifier(Debugger::Constants::C_DEBUGMODE); - - if (!core->hasContext(dbgcontext)) - return; - bool experimentalWarningShown = false; if (m_applyChangesToQmlObserver) { -- GitLab