Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 98d38f9f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make sure m_labelMode is initialised

Summary: Fixes uninitialised warning on valgrind

Reviewers: #plasma, hein, broulik

Reviewed By: #plasma, hein, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D16711
parent 9b25a95c
......@@ -29,7 +29,8 @@ int LabelGenerator::s_instanceCount = 0;
KFilePlacesModel *LabelGenerator::s_placesModel = nullptr;
LabelGenerator::LabelGenerator(QObject* parent) : QObject(parent),
m_rtl(false)
m_rtl(false),
m_labelMode(1)
{
++s_instanceCount;
}
......
Markdown is supported
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