Mercurial > hg > svgui
comparison widgets/PluginParameterDialog.cpp @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | c8a6fd3f9dff |
children | 11660e0c896f |
comparison
equal
deleted
inserted
replaced
1413:0930a27ebea2 | 1414:fa986b91d77f |
---|---|
49 m_plugin(plugin), | 49 m_plugin(plugin), |
50 m_channel(-1), | 50 m_channel(-1), |
51 m_stepSize(0), | 51 m_stepSize(0), |
52 m_blockSize(0), | 52 m_blockSize(0), |
53 m_windowType(HanningWindow), | 53 m_windowType(HanningWindow), |
54 m_parameterBox(0), | 54 m_parameterBox(nullptr), |
55 m_currentSelectionOnly(false) | 55 m_currentSelectionOnly(false) |
56 { | 56 { |
57 setWindowTitle(tr("Plugin Parameters")); | 57 setWindowTitle(tr("Plugin Parameters")); |
58 | 58 |
59 QGridLayout *grid = new QGridLayout; | 59 QGridLayout *grid = new QGridLayout; |
87 versionLabel->setWordWrap(true); | 87 versionLabel->setWordWrap(true); |
88 | 88 |
89 QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str()); | 89 QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str()); |
90 copyrightLabel->setWordWrap(true); | 90 copyrightLabel->setWordWrap(true); |
91 | 91 |
92 QLabel *descriptionLabel = 0; | 92 QLabel *descriptionLabel = nullptr; |
93 if (plugin->getDescription() != "") { | 93 if (plugin->getDescription() != "") { |
94 descriptionLabel = new QLabel(plugin->getDescription().c_str()); | 94 descriptionLabel = new QLabel(plugin->getDescription().c_str()); |
95 descriptionLabel->setWordWrap(true); | 95 descriptionLabel->setWordWrap(true); |
96 descriptionLabel->setFont(italicFont); | 96 descriptionLabel->setFont(italicFont); |
97 } | 97 } |