Commit 77f26cad authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent d6510e74
Pipeline #32656 passed with stage
in 12 minutes and 7 seconds
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
ImportImapSettingProgressPage::ImportImapSettingProgressPage(QWidget *parent) ImportImapSettingProgressPage::ImportImapSettingProgressPage(QWidget *parent)
: QWidget(parent) : QWidget(parent)
, mSettingsFound(false)
{ {
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainlayout")); mainLayout->setObjectName(QStringLiteral("mainlayout"));
......
...@@ -81,7 +81,7 @@ private: ...@@ -81,7 +81,7 @@ private:
void populateDefaultAuthenticationOptions(QComboBox *combobox); void populateDefaultAuthenticationOptions(QComboBox *combobox);
void slotSafetyChanged(); void slotSafetyChanged();
void populateDefaultComboBoxAuthenticationOptions(); void populateDefaultComboBoxAuthenticationOptions();
Ui::ServerSieveSettings *ui = nullptr; Ui::ServerSieveSettings *const ui;
MailTransport::ServerTest *mServerTest = nullptr; MailTransport::ServerTest *mServerTest = nullptr;
}; };
......
...@@ -46,8 +46,8 @@ Q_SIGNALS: ...@@ -46,8 +46,8 @@ Q_SIGNALS:
private: private:
Q_DISABLE_COPY(SieveEditorBookmarks) Q_DISABLE_COPY(SieveEditorBookmarks)
KBookmarkMenu *mBookmarkMenu = nullptr; KBookmarkMenu *mBookmarkMenu = nullptr;
QMenu *mMenu = nullptr; QMenu *const mMenu;
SieveEditorMainWindow *mMainWindow = nullptr; SieveEditorMainWindow *const mMainWindow;
}; };
#endif // SIEVEEDITORBOOKMARKS_H #endif // SIEVEEDITORBOOKMARKS_H
...@@ -44,7 +44,7 @@ private: ...@@ -44,7 +44,7 @@ private:
void slotItemSelectionChanged(); void slotItemSelectionChanged();
private: private:
Ui::SieveEditorConfigureServerWidget *ui = nullptr; Ui::SieveEditorConfigureServerWidget *const ui;
}; };
#endif // SIEVEEDITORCONFIGURESERVERWIDGET_H #endif // SIEVEEDITORCONFIGURESERVERWIDGET_H
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