]> vaikene.ee Git - evaf/blobdiff - src/plugins/LogView/factory.cpp
Minor changes
[evaf] / src / plugins / LogView / factory.cpp
index 52a7773290c2267509857c08a6aa7e5c10c7c6b5..27372fd04cbeac14237aef5adbd3c76f3921ecd8 100644 (file)
@@ -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;
 }