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

const'ify pointer

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