Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 372d0cae authored by Laurent Montel's avatar Laurent Montel 😁

initialize variables

parent f4d00ffd
......@@ -54,7 +54,7 @@ private:
QString errorTemplate(const QString &reason, const QString &origTemplateName, const Grantlee::Template &failedTemplate) const;
Grantlee::Context createContext(const QVariantHash &hash = QVariantHash()) const;
Grantlee::Engine *mEngine;
Grantlee::Engine *mEngine = nullptr;
QSharedPointer<Grantlee::FileSystemTemplateLoader> mLoader;
QSharedPointer<GrantleeKi18nLocalizer> mLocalizer;
......@@ -51,8 +51,8 @@ public:
MemoryCalendar *mCalendar;
HTMLExportSettings *mSettings;
MemoryCalendar *mCalendar = nullptr;
HTMLExportSettings *mSettings = nullptr;
QMap<QDate, QString> mHolidayMap;
......@@ -131,7 +131,7 @@ protected:
bool acceptFreeBusy(const KCalCore::IncidenceBase::Ptr &, KCalCore::iTIPMethod method);
KCalCore::Calendar::Ptr mCalendar;
KCalCore::ICalFormat *mFormat;
KCalCore::ICalFormat *mFormat = nullptr;
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