Commit a2bd8e11 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Fix crash

An asynchronous command deletes itself when it ends.
Raw pointer is a bad idea.

Task-number: QTCREATORBUG-15051
Change-Id: Ie2b3a90e308a4bb1e414f924a836d816abf1dfd1
Reviewed-by: default avatarRobert Loehning <>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 506c0685
......@@ -134,7 +134,7 @@ protected:
const QString m_directory;
VcsCommand *m_command;
QPointer<VcsCommand> m_command;
BaseController::BaseController(IDocument *document, const QString &dir) :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment