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

Const'ify pointer

parent 83920d5b
......@@ -22,6 +22,7 @@
PimDataExporterConfigureDialog::PimDataExporterConfigureDialog(QWidget *parent)
: KPageDialog(parent)
, mConfigureWidget(new PimDataExporterConfigureWidget(this))
{
setFaceType(KPageDialog::List);
setWindowTitle(i18nc("@title:window", "Configure PimDataExporter"));
......@@ -29,7 +30,6 @@ PimDataExporterConfigureDialog::PimDataExporterConfigureDialog(QWidget *parent)
// General page
QWidget *generalConfigureWiget = new QWidget(this);
auto layout = new QVBoxLayout(generalConfigureWiget);
mConfigureWidget = new PimDataExporterConfigureWidget(this);
mConfigureWidget->setObjectName(QStringLiteral("configurewidget"));
layout->addWidget(mConfigureWidget);
......
......@@ -26,7 +26,7 @@ private:
void readConfig();
void writeConfig();
PimDataExporterConfigureWidget *mConfigureWidget = nullptr;
PimDataExporterConfigureWidget *const mConfigureWidget;
#ifdef WITH_KUSERFEEDBACK
KUserFeedback::FeedbackConfigWidget *mUserFeedbackWidget = 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