Commit 233da494 authored by hjk's avatar hjk
Browse files

ProgressManager: Return ProgressManager* from instance



Works better with Qt5-style connects.

Change-Id: I7916369762fa51f24664149f85208b1eb5c7a62e
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent f5fcb3dd
......@@ -737,7 +737,7 @@ ProgressManager::~ProgressManager()
{
}
QObject *ProgressManager::instance()
ProgressManager *ProgressManager::instance()
{
return m_instance;
}
......
......@@ -52,7 +52,7 @@ public:
};
Q_DECLARE_FLAGS(ProgressFlags, ProgressFlag)
static QObject *instance();
static ProgressManager *instance();
static FutureProgress *addTask(const QFuture<void> &future, const QString &title,
Id type, ProgressFlags flags = 0);
......
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