Commit b390e56d authored by Lorn Potter's avatar Lorn Potter
Browse files

Fixes: don't timeout trying to run git when git cannot be found.

Task:     <task number>
Details:  <additional information>
parent 55e7f655
......@@ -104,6 +104,10 @@ void GitCommand::execute()
if (m_jobs.empty())
emit errorText(QLatin1String("Error: Git not found.")+m_binaryPath);
// For some reason QtConcurrent::run() only works on this
QFuture<void> task = QtConcurrent::run(this, &GitCommand::run);
const QString taskName = QLatin1String("Git ") + m_jobs.front();
Supports Markdown
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