Commit 8489c827 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer

parent 49da8a54
Pipeline #62605 passed with stage
in 23 minutes and 13 seconds
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
RefreshSettringsFinishPage::RefreshSettringsFinishPage(QWidget *parent) RefreshSettringsFinishPage::RefreshSettringsFinishPage(QWidget *parent)
: QWidget(parent) : QWidget(parent)
, mTextEdit(new QPlainTextEdit(this))
{ {
auto mainLayout = new QHBoxLayout(this); auto mainLayout = new QHBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout")); mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({}); mainLayout->setContentsMargins({});
mTextEdit = new QPlainTextEdit(this);
mTextEdit->setObjectName(QStringLiteral("textedit")); mTextEdit->setObjectName(QStringLiteral("textedit"));
mTextEdit->setReadOnly(true); mTextEdit->setReadOnly(true);
mainLayout->addWidget(mTextEdit); mainLayout->addWidget(mTextEdit);
......
...@@ -20,6 +20,6 @@ Q_SIGNALS: ...@@ -20,6 +20,6 @@ Q_SIGNALS:
private: private:
void slotCleanDoneInfo(const QString &info); void slotCleanDoneInfo(const QString &info);
QPlainTextEdit *mTextEdit = nullptr; QPlainTextEdit *const mTextEdit;
}; };
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