summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2014-11-24 15:43:48 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2014-11-24 15:43:48 +0100
commita47fbb83094ac2d2014fdd563ae22be9f0200baa (patch)
tree2b29ca96979b5facf549131aee58c13e9c2c368b /src/libs/qmljs/qmljsmodelmanagerinterface.cpp
parent63487158f1928f2d8499995783610839904ab149 (diff)
parenta4a4f7a4759e97142f751fdb91cb11536e5102e2 (diff)
downloadqt-creator-a47fbb83094ac2d2014fdd563ae22be9f0200baa.tar.gz
Merge remote-tracking branch 'origin/3.3'
Conflicts: src/plugins/coreplugin/coreplugin.cpp src/plugins/coreplugin/themesettingswidget.cpp src/plugins/qbsprojectmanager/qbsprojectmanager.cpp src/plugins/qbsprojectmanager/qbsprojectmanager.h src/plugins/qmlprofiler/qml/Overview.js src/shared/qbs Change-Id: Ibe92c166fc5bfbcb4d6964e50ca7298d8459d60e
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.cpp')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.cpp b/src/libs/qmljs/qmljsmodelmanagerinterface.cpp
index e412f683f3..9ddaa4dc8f 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.cpp
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.cpp
@@ -629,6 +629,11 @@ ModelManagerInterface::ProjectInfo ModelManagerInterface::projectInfoForPath(QSt
return res;
}
+bool ModelManagerInterface::isIdle() const
+{
+ return m_synchronizer.futures().isEmpty();
+}
+
void ModelManagerInterface::emitDocumentChangedOnDisk(Document::Ptr doc)
{ emit documentChangedOnDisk(doc); }