Commit d19b7d24 authored by Laurent Montel's avatar Laurent Montel 😁

initialize some pointers

parent 65a722fd
......@@ -731,7 +731,7 @@ private:
// Calendar filters
QList<KCalCore::CalFilter *> mFilters;
KCalCore::CalFilter *mCurrentFilter;
KCalCore::CalFilter *mCurrentFilter = nullptr;
// various housekeeping variables.
bool mReadOnly; // flag indicating if calendar is read-only
......
......@@ -114,7 +114,7 @@ protected:
void usrReadConfig() override;
private:
Ui::KOGroupwarePrefsPage *mGroupwarePage;
Ui::KOGroupwarePrefsPage *mGroupwarePage = nullptr;
};
class KCM_KORGANIZER_EXPORT KOPrefsDialogPlugins : public KPIM::KPrefsModule
......@@ -132,16 +132,14 @@ protected Q_SLOTS:
private:
void buildList();
QTreeWidget *mTreeWidget;
QLabel *mDescription;
QPushButton *mConfigureButton;
QGroupBox *mPositioningGroupBox;
QTreeWidget *mTreeWidget = nullptr;
QLabel *mDescription = nullptr;
QPushButton *mConfigureButton = nullptr;
QGroupBox *mPositioningGroupBox = nullptr;
//Decorations are not implemented in month view yet
//QCheckBox *mPositionMonthTop;
QRadioButton *mPositionAgendaTop;
QRadioButton *mPositionAgendaBottom;
QRadioButton *mPositionAgendaTop = nullptr;
QRadioButton *mPositionAgendaBottom = nullptr;
QSet<QString> mDecorationsAtMonthViewTop;
QSet<QString> mDecorationsAtAgendaViewTop;
QSet<QString> mDecorationsAtAgendaViewBottom;
......
......@@ -61,7 +61,7 @@ protected Q_SLOTS:
private:
void checkChildren(const QModelIndex &parent, int currentDepth = 0);
QAbstractItemModel *model;
QAbstractItemModel *model = nullptr;
struct Changing {
QModelIndex parent;
......
......@@ -303,7 +303,7 @@ public:
QVector<QString> titles;
Ui::MultiAgendaViewConfigWidget ui;
QStandardItemModel listModel;
QAbstractItemModel *baseModel;
QAbstractItemModel *baseModel = nullptr;
int currentColumn;
};
......
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