forked from qt-creator/qt-creator
Vcs: Do not crash when stopping running commands
Drop the connect once the editor gets killed. Remove the QSignalMapper and replace it with a lambda to facilitate that change. Task-number: QTCREATORBUG-14613 Change-Id: I1a5990bf37af88092933143ebb78dd5ceb9c1222 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -596,7 +596,7 @@ static inline void msgCannotRun(const QStringList &args, const QString &workingD
|
||||
|
||||
const char *GitClient::stashNamePrefix = "stash@{";
|
||||
|
||||
GitClient::GitClient() : VcsBase::VcsBaseClientImpl(this, new GitSettings),
|
||||
GitClient::GitClient() : VcsBase::VcsBaseClientImpl(new GitSettings),
|
||||
m_cachedGitVersion(0),
|
||||
m_disableEditor(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user