forked from qt-creator/qt-creator
Progressbar: Fix uninitialized variable
Which lead to progress indicators sometimes not having a cancel button. Change-Id: Idd470411c02686b6975c1e7efd79ac802eb37037 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -44,7 +44,8 @@ using namespace Core::Internal;
|
||||
#define CANCELBUTTON_SIZE 15
|
||||
|
||||
ProgressBar::ProgressBar(QWidget *parent)
|
||||
: QWidget(parent), m_titleVisible(true), m_separatorVisible(true), m_progressHeight(0),
|
||||
: QWidget(parent), m_titleVisible(true), m_separatorVisible(true), m_cancelEnabled(true),
|
||||
m_progressHeight(0),
|
||||
m_minimum(1), m_maximum(100), m_value(1), m_cancelButtonFader(0), m_finished(false),
|
||||
m_error(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user