diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.cpp b/src/plugins/coreplugin/progressmanager/progressmanager.cpp index ae57bd3d40b4c7cf671eb9e603ad84188021d792..24bbd6a2452b5e08cbc2368d4aa844597d138008 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager.cpp @@ -265,9 +265,8 @@ using namespace Core::Internal; Sent when all tasks of a \a type have finished. */ -ProgressManagerPrivate::ProgressManagerPrivate(QObject *parent) - : ProgressManager(parent), - m_applicationTask(0), +ProgressManagerPrivate::ProgressManagerPrivate() + : m_applicationTask(0), m_currentStatusDetailsWidget(0), m_opacityEffect(new QGraphicsOpacityEffect(this)), m_progressViewPinned(false), @@ -721,7 +720,7 @@ void ToggleButton::paintEvent(QPaintEvent *event) static ProgressManager *m_instance = 0; -ProgressManager::ProgressManager(QObject *parent) +ProgressManager::ProgressManager() { m_instance = this; } diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.h b/src/plugins/coreplugin/progressmanager/progressmanager.h index 833bc133b5cacab2596971b35a04414529ba0223..3df9d227a6e10f8646264e9bd14076a9d60cf17b 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.h +++ b/src/plugins/coreplugin/progressmanager/progressmanager.h @@ -70,7 +70,7 @@ protected: virtual void doSetApplicationLabel(const QString &text) = 0; private: - ProgressManager(QObject *parent = 0); + ProgressManager(); ~ProgressManager(); friend class Core::Internal::ProgressManagerPrivate; diff --git a/src/plugins/coreplugin/progressmanager/progressmanager_p.h b/src/plugins/coreplugin/progressmanager/progressmanager_p.h index 7363947b56395172448b2c9446161dccbc674e59..9a8df509c2fb58fa84c593476796f636f7233690 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager_p.h +++ b/src/plugins/coreplugin/progressmanager/progressmanager_p.h @@ -53,7 +53,7 @@ class ProgressManagerPrivate : public Core::ProgressManager { Q_OBJECT public: - ProgressManagerPrivate(QObject *parent = 0); + ProgressManagerPrivate(); ~ProgressManagerPrivate(); void init(); void cleanup();