Mercurial > hg > svgui
diff widgets/PluginParameterDialog.cpp @ 1408:c8a6fd3f9dff fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:54 +0000 |
parents | 3ca1be2e2c91 |
children | 11660e0c896f |
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp Mon Nov 26 13:52:57 2018 +0000 +++ b/widgets/PluginParameterDialog.cpp Mon Nov 26 14:33:54 2018 +0000 @@ -51,7 +51,7 @@ m_stepSize(0), m_blockSize(0), m_windowType(HanningWindow), - m_parameterBox(0), + m_parameterBox(nullptr), m_currentSelectionOnly(false) { setWindowTitle(tr("Plugin Parameters")); @@ -89,7 +89,7 @@ QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str()); copyrightLabel->setWordWrap(true); - QLabel *descriptionLabel = 0; + QLabel *descriptionLabel = nullptr; if (plugin->getDescription() != "") { descriptionLabel = new QLabel(plugin->getDescription().c_str()); descriptionLabel->setWordWrap(true);