X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?p=evaf;a=blobdiff_plain;f=src%2Fplugins%2FLogView%2Ffactory.cpp;fp=src%2Fplugins%2FLogView%2Ffactory.cpp;h=27372fd04cbeac14237aef5adbd3c76f3921ecd8;hp=52a7773290c2267509857c08a6aa7e5c10c7c6b5;hb=13dedf19c628b9967e4c4106ab0fd967f1df0b90;hpb=af2feaab777210b8fbd9190904df3dd187acf0cd diff --git a/src/plugins/LogView/factory.cpp b/src/plugins/LogView/factory.cpp index 52a7773..27372fd 100644 --- a/src/plugins/LogView/factory.cpp +++ b/src/plugins/LogView/factory.cpp @@ -33,7 +33,7 @@ VER_EXPORT_VERSION_INFO() Factory::Factory() : Plugins::iPluginFactory() - , mPlugin(0) + , mPlugin(nullptr) { setObjectName(QString("%1-Factory").arg(VER_MODULE_NAME_STR)); @@ -52,7 +52,7 @@ QObject * Factory::create(QString const & name) { Q_UNUSED(name); - if (mPlugin == 0) + if (mPlugin == nullptr) mPlugin = new Internal::Module; return mPlugin; }