QmlProfiler: show a warning if unsaved notes are to be discarded

Change-Id: I5152f0eefd1f0beec2b0f4fc9e27fedeb3bf7a14
Task-number: QTCREATORBUG-13318
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2014-11-03 14:19:26 +01:00
committed by Ulf Hermann
parent 55c24db5f8
commit 99f4b6353d
5 changed files with 73 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ private:
void populateFileFinder(QString projectDirectory = QString(), QString activeSysroot = QString());
template<QmlDebug::ProfileFeature feature>
void updateFeaturesMenu(quint64 features);
bool checkForUnsavedNotes();
class QmlProfilerToolPrivate;
QmlProfilerToolPrivate *d;