forked from qt-creator/qt-creator
Apply on Save: Infobar displayed cleared when debugging ends
Infobar displayed cleared if the user decides to end debugging without reloading Qml. Change-Id: Ic502c9b75a4f4e41aa3e843706f9e1fc0113f0e7 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
committed by
Christiaan Janssen
parent
79d35cd886
commit
32f25fcfc1
@@ -380,6 +380,11 @@ QmlLiveTextPreview::QmlLiveTextPreview(const QmlJS::Document::Ptr &doc,
|
|||||||
SLOT(onAutomaticUpdateFailed()));
|
SLOT(onAutomaticUpdateFailed()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QmlLiveTextPreview::~QmlLiveTextPreview()
|
||||||
|
{
|
||||||
|
removeOutofSyncInfo();
|
||||||
|
}
|
||||||
|
|
||||||
void QmlLiveTextPreview::associateEditor(Core::IEditor *editor)
|
void QmlLiveTextPreview::associateEditor(Core::IEditor *editor)
|
||||||
{
|
{
|
||||||
using namespace TextEditor;
|
using namespace TextEditor;
|
||||||
|
@@ -61,6 +61,7 @@ public:
|
|||||||
const QmlJS::Document::Ptr &initDoc,
|
const QmlJS::Document::Ptr &initDoc,
|
||||||
QmlInspectorAdapter *inspectorAdapter,
|
QmlInspectorAdapter *inspectorAdapter,
|
||||||
QObject *parent = 0);
|
QObject *parent = 0);
|
||||||
|
~QmlLiveTextPreview();
|
||||||
|
|
||||||
void associateEditor(Core::IEditor *editor);
|
void associateEditor(Core::IEditor *editor);
|
||||||
void unassociateEditor(Core::IEditor *editor);
|
void unassociateEditor(Core::IEditor *editor);
|
||||||
|
Reference in New Issue
Block a user