forked from qt-creator/qt-creator
ProgressManager: Remove unused constructor parameter
Change-Id: I0c27f54c813cfba1c9e940b2431a0950fd1e4b8d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user