X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Fplugins%2FLogView%2Ffactory.cpp;h=aec63ae8866f307d6193d62bb0b275e9acecb12c;hb=HEAD;hp=52a7773290c2267509857c08a6aa7e5c10c7c6b5;hpb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;p=evaf diff --git a/src/plugins/LogView/factory.cpp b/src/plugins/LogView/factory.cpp index 52a7773..aec63ae 100644 --- a/src/plugins/LogView/factory.cpp +++ b/src/plugins/LogView/factory.cpp @@ -3,7 +3,7 @@ * @brief LogView module's factory class * @author Enar Vaikene * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -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)); @@ -50,9 +50,9 @@ Factory::~Factory() QObject * Factory::create(QString const & name) { - Q_UNUSED(name); + Q_UNUSED(name) - if (mPlugin == 0) + if (mPlugin == nullptr) mPlugin = new Internal::Module; return mPlugin; }