Commit 943fe638 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variables

parent 26c245de
......@@ -89,20 +89,20 @@ private Q_SLOTS:
private:
Akonadi::Collection currentCollection() const;
Akonadi::ChangeRecorder *mBrowserMonitor;
AkonadiBrowserModel *mBrowserModel;
Akonadi::EntityTreeView *mCollectionView;
Akonadi::StatisticsProxyModel *statisticsProxyModel;
Akonadi::ChangeRecorder *mBrowserMonitor = nullptr;
AkonadiBrowserModel *mBrowserModel = nullptr;
Akonadi::EntityTreeView *mCollectionView = nullptr;
Akonadi::StatisticsProxyModel *statisticsProxyModel = nullptr;
Ui::ItemViewWidget itemUi;
Ui::ContentViewWidget contentUi;
Akonadi::Item mCurrentItem;
QStandardItemModel *mAttrModel;
Akonadi::StandardActionManager *mStdActionManager;
Akonadi::Monitor *mMonitor;
KViewStateMaintainer<Akonadi::ETMViewStateSaver> *m_stateMaintainer;
KToggleAction *mCacheOnlyAction;
QTreeView *mTagView;
Akonadi::TagModel *mTagModel;
QStandardItemModel *mAttrModel = nullptr;
Akonadi::StandardActionManager *mStdActionManager = nullptr;
Akonadi::Monitor *mMonitor = nullptr;
KViewStateMaintainer<Akonadi::ETMViewStateSaver> *m_stateMaintainer = nullptr;
KToggleAction *mCacheOnlyAction = nullptr;
QTreeView *mTagView = nullptr;
Akonadi::TagModel *mTagModel = nullptr;
};
#endif
......@@ -43,7 +43,7 @@ private Q_SLOTS:
private:
Ui::CollectionAttributesPage ui;
QStandardItemModel *mModel;
QStandardItemModel *mModel = nullptr;
QSet<QString> mDeleted;
QSet<QString> mChanged;
};
......
......@@ -45,7 +45,7 @@ private Q_SLOTS:
void connectionDataOutput(const QString &, const QString &);
private:
KTextEdit *mDataView;
KTextEdit *mDataView = nullptr;
QString mIdentifier;
bool mShowAllConnections;
};
......
......@@ -36,7 +36,7 @@ private Q_SLOTS:
private:
Ui::DbBrowser ui;
QSqlTableModel *mTableModel;
QSqlTableModel *mTableModel = nullptr;
};
#endif
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