forked from qt-creator/qt-creator
Add functionality to show progress for the application in task bar/dock.
Move the API to the progress manager. Added a first Mac implementation, other platforms are pending.
This commit is contained in:
@@ -109,8 +109,7 @@ void GitCommand::execute()
|
||||
const QString taskName = QLatin1String("Git ") + m_jobs.front().arguments.at(0);
|
||||
|
||||
Core::ICore::instance()->progressManager()->addTask(task, taskName,
|
||||
QLatin1String("Git.action"),
|
||||
Core::ProgressManager::CloseOnSuccess);
|
||||
QLatin1String("Git.action"));
|
||||
}
|
||||
|
||||
void GitCommand::run()
|
||||
|
||||
Reference in New Issue
Block a user