ProgressManager: Remove unused constructor parameter

Change-Id: I0c27f54c813cfba1c9e940b2431a0950fd1e4b8d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-08-30 15:10:49 +02:00
parent 64f941ae38
commit e3ffb95b90
3 changed files with 5 additions and 6 deletions

View File

@@ -265,9 +265,8 @@ using namespace Core::Internal;
Sent when all tasks of a \a type have finished. Sent when all tasks of a \a type have finished.
*/ */
ProgressManagerPrivate::ProgressManagerPrivate(QObject *parent) ProgressManagerPrivate::ProgressManagerPrivate()
: ProgressManager(parent), : m_applicationTask(0),
m_applicationTask(0),
m_currentStatusDetailsWidget(0), m_currentStatusDetailsWidget(0),
m_opacityEffect(new QGraphicsOpacityEffect(this)), m_opacityEffect(new QGraphicsOpacityEffect(this)),
m_progressViewPinned(false), m_progressViewPinned(false),
@@ -721,7 +720,7 @@ void ToggleButton::paintEvent(QPaintEvent *event)
static ProgressManager *m_instance = 0; static ProgressManager *m_instance = 0;
ProgressManager::ProgressManager(QObject *parent) ProgressManager::ProgressManager()
{ {
m_instance = this; m_instance = this;
} }

View File

@@ -70,7 +70,7 @@ protected:
virtual void doSetApplicationLabel(const QString &text) = 0; virtual void doSetApplicationLabel(const QString &text) = 0;
private: private:
ProgressManager(QObject *parent = 0); ProgressManager();
~ProgressManager(); ~ProgressManager();
friend class Core::Internal::ProgressManagerPrivate; friend class Core::Internal::ProgressManagerPrivate;

View File

@@ -53,7 +53,7 @@ class ProgressManagerPrivate : public Core::ProgressManager
{ {
Q_OBJECT Q_OBJECT
public: public:
ProgressManagerPrivate(QObject *parent = 0); ProgressManagerPrivate();
~ProgressManagerPrivate(); ~ProgressManagerPrivate();
void init(); void init();
void cleanup(); void cleanup();