GerritDialog: Use member initialization

Change-Id: Ic7e4987f1eb14280293d4af4da10dfc4b3efbbf3
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2017-02-12 23:08:36 +02:00
committed by Orgad Shaneh
parent 9c820101cc
commit ba058f3a29
2 changed files with 1 additions and 2 deletions

View File

@@ -63,7 +63,6 @@ GerritDialog::GerritDialog(const QSharedPointer<GerritParameters> &p,
, m_ui(new Ui::GerritDialog)
, m_model(new GerritModel(p, this))
, m_queryModel(new QStringListModel(this))
, m_fetchRunning(false)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);

View File

@@ -100,7 +100,7 @@ private:
Utils::ProgressIndicator *m_progressIndicator;
QTimer m_progressIndicatorTimer;
QString m_repository;
bool m_fetchRunning;
bool m_fetchRunning = false;
};
} // namespace Internal