Command: Do not emit repositoryChanged when app is closed

Command is threaded, so it can be destructed after VcsManager is gone

Change-Id: I9618412aec502218f3c6b656ad2145b6a0aa28b5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-09-24 18:06:25 +03:00
committed by Orgad Shaneh
parent 017e108724
commit b54ab83be9
2 changed files with 23 additions and 11 deletions

View File

@@ -112,6 +112,7 @@ private:
void run(QFutureInterface<void> &future);
Utils::SynchronousProcessResponse runSynchronous(const QStringList &arguments, int timeoutMS,
Utils::ExitCodeInterpreter *interpreter = 0);
void emitRepositoryChanged();
public slots:
void cancel();
@@ -125,6 +126,7 @@ signals:
private slots:
void bufferedOutput(const QString &text);
void bufferedError(const QString &text);
void coreAboutToClose();
signals:
void terminate(); // Internal