* @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.
*
Factory::Factory()
: Plugins::iPluginFactory()
- , mPlugin(0)
+ , mPlugin(nullptr)
{
setObjectName(QString("%1-Factory").arg(VER_MODULE_NAME_STR));
QObject * Factory::create(QString const & name)
{
- Q_UNUSED(name);
+ Q_UNUSED(name)
- if (mPlugin == 0)
+ if (mPlugin == nullptr)
mPlugin = new Internal::Module;
return mPlugin;
}