comparison framework/TransformUserConfigurator.cpp @ 636:e2715204feaa fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:34:06 +0000
parents b23bebfdfaba
children 7540733f5480
comparison
equal deleted inserted replaced
635:26a0cb8335e3 636:e2715204feaa
28 28
29 #include <QStringList> 29 #include <QStringList>
30 30
31 #include <typeinfo> 31 #include <typeinfo>
32 32
33 static QWidget *parentWidget = 0; 33 static QWidget *parentWidget = nullptr;
34 34
35 void 35 void
36 TransformUserConfigurator::setParentWidget(QWidget *w) 36 TransformUserConfigurator::setParentWidget(QWidget *w)
37 { 37 {
38 parentWidget = w; 38 parentWidget = w;
224 transform.setWindowType(windowType); 224 transform.setWindowType(windowType);
225 225
226 delete dialog; 226 delete dialog;
227 227
228 if (effect && source) { 228 if (effect && source) {
229 source->setAuditioningEffect(0); 229 source->setAuditioningEffect(nullptr);
230 } 230 }
231 231
232 return ok; 232 return ok;
233 } 233 }
234 234