Commit 79c646e3 authored by Marius Pa's avatar Marius Pa Committed by Nate Graham
Browse files

elisaapplication ctor initialize member

Fix PVS-Studio issue "error: V730 Not all members
of a class are initialized inside the constructor.
Consider inspecting: x."
parent 7a1345dd
Pipeline #200622 passed with stage
in 5 minutes and 7 seconds
......@@ -66,7 +66,7 @@ public:
explicit ElisaApplicationPrivate(QObject *parent)
#if KF5XmlGui_FOUND
: mCollection(parent)
#endif
#endif
{
Q_UNUSED(parent)
}
......@@ -93,7 +93,7 @@ public:
QFileSystemWatcher mConfigFileWatcher;
KColorSchemeManager *mSchemes;
KColorSchemeManager *mSchemes = nullptr;
};
ElisaApplication::ElisaApplication(QObject *parent) : QObject(parent), d(std::make_unique<ElisaApplicationPrivate>(this))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment