Commit e3ffb95b authored by hjk's avatar hjk

ProgressManager: Remove unused constructor parameter

Change-Id: I0c27f54c813cfba1c9e940b2431a0950fd1e4b8d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 64f941ae
......@@ -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;
}
......
......@@ -70,7 +70,7 @@ protected:
virtual void doSetApplicationLabel(const QString &text) = 0;
private:
ProgressManager(QObject *parent = 0);
ProgressManager();
~ProgressManager();
friend class Core::Internal::ProgressManagerPrivate;
......
......@@ -53,7 +53,7 @@ class ProgressManagerPrivate : public Core::ProgressManager
{
Q_OBJECT
public:
ProgressManagerPrivate(QObject *parent = 0);
ProgressManagerPrivate();
~ProgressManagerPrivate();
void init();
void cleanup();
......
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