X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Fplugins%2FLogView%2Ffactory.cpp;h=27372fd04cbeac14237aef5adbd3c76f3921ecd8;hb=13dedf19c628b9967e4c4106ab0fd967f1df0b90;hp=52a7773290c2267509857c08a6aa7e5c10c7c6b5;hpb=af2feaab777210b8fbd9190904df3dd187acf0cd;p=evaf
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;
}