diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 22:02:26 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 22:02:53 -0400 |
commit | b80079c37f7bad67cf91d96ef7c79e87ac0801cb (patch) | |
tree | 8d0b0f99f2476f5535e996ac22fd5e47d4ebb813 | |
parent | df51171352cb615cfa792ece05554afa212a3cbc (diff) | |
download | subsurface-b80079c37f7bad67cf91d96ef7c79e87ac0801cb.tar.gz |
Avoid having uninitialized member
Coverity CID 1325283
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/simplewidgets.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index baae7cced..57fc56b0f 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -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 *))); |