Mercurial > hg > svgui
diff widgets/ProgressDialog.cpp @ 1408:c8a6fd3f9dff fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:54 +0000 |
parents | 05d12869043e |
children |
line wrap: on
line diff
--- a/widgets/ProgressDialog.cpp Mon Nov 26 13:52:57 2018 +0000 +++ b/widgets/ProgressDialog.cpp Mon Nov 26 14:33:54 2018 +0000 @@ -24,11 +24,11 @@ int timeBeforeShow, QWidget *parent, Qt::WindowModality modality) : - m_showTimer(0), + m_showTimer(nullptr), m_timerElapsed(false), m_cancelled(false) { - m_dialog = new QProgressDialog(message, cancellable ? tr("Cancel") : 0, + m_dialog = new QProgressDialog(message, cancellable ? tr("Cancel") : nullptr, 0, 100, parent); m_dialog->setWindowModality(modality);