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:
@@ -155,8 +155,7 @@ bool SessionFile::load(const QString &fileName)
|
||||
}
|
||||
|
||||
m_core->progressManager()->addTask(future.future(), tr("Session"),
|
||||
QLatin1String("ProjectExplorer.SessionFile.Load"),
|
||||
Core::ProgressManager::CloseOnSuccess);
|
||||
QLatin1String("ProjectExplorer.SessionFile.Load"));
|
||||
|
||||
const QStringList &keys = reader.restoreValue(QLatin1String("valueKeys")).toStringList();
|
||||
foreach (const QString &key, keys) {
|
||||
|
||||
Reference in New Issue
Block a user