Commit e84b9201 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent 00e8cdde
...@@ -396,8 +396,8 @@ QString SecurityPageSMimeTab::helpAnchor() const ...@@ -396,8 +396,8 @@ QString SecurityPageSMimeTab::helpAnchor() const
SecurityPageSMimeTab::SecurityPageSMimeTab(QWidget *parent) SecurityPageSMimeTab::SecurityPageSMimeTab(QWidget *parent)
: ConfigModuleTab(parent) : ConfigModuleTab(parent)
, mWidget(new Ui::SMimeConfiguration)
{ {
mWidget = new Ui::SMimeConfiguration;
mWidget->setupUi(this); mWidget->setupUi(this);
// Button-group for exclusive radiobuttons // Button-group for exclusive radiobuttons
......
...@@ -116,7 +116,7 @@ private: ...@@ -116,7 +116,7 @@ private:
void doLoadOther() override; void doLoadOther() override;
private: private:
Ui::SMimeConfiguration *mWidget = nullptr; Ui::SMimeConfiguration *const mWidget;
QGpgME::CryptoConfig *mConfig = nullptr; QGpgME::CryptoConfig *mConfig = 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