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:
@@ -68,7 +68,7 @@ class VCSBASE_EXPORT VcsBaseClientImpl : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit VcsBaseClientImpl(VcsBaseClientImpl *client, VcsBaseClientSettings *settings);
|
||||
explicit VcsBaseClientImpl(VcsBaseClientSettings *settings);
|
||||
~VcsBaseClientImpl();
|
||||
|
||||
VcsBaseClientSettings &settings() const;
|
||||
@@ -130,7 +130,6 @@ protected:
|
||||
|
||||
private:
|
||||
void saveSettings();
|
||||
void commandFinishedGotoLine(QWidget*);
|
||||
|
||||
VcsBaseClientImplPrivate *d;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user