Avoid having uninitialized member

Coverity CID 1325283

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-10-01 22:02:26 -04:00
parent df51171352
commit b80079c37f

View file

@ -324,7 +324,11 @@ bool ShiftImageTimesDialog::matchAll()
return matchAllImages;
}
ShiftImageTimesDialog::ShiftImageTimesDialog(QWidget *parent, QStringList fileNames) : QDialog(parent), fileNames(fileNames), m_amount(0)
ShiftImageTimesDialog::ShiftImageTimesDialog(QWidget *parent, QStringList fileNames) :
QDialog(parent),
fileNames(fileNames),
m_amount(0),
matchAllImages(false)
{
ui.setupUi(this);
connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *)));