Commit 6755aa5c authored by Laurent Montel's avatar Laurent Montel 😁

const'ify + add parent here

parent 93ae6fe3
Pipeline #37409 failed with stage
in 76 minutes and 51 seconds
......@@ -40,7 +40,7 @@ private:
Q_REQUIRED_RESULT bool allowToDeleteFolders(const Akonadi::Collection &folder) const;
Q_REQUIRED_RESULT QString standardArchivePath(const QString &folderName);
QWidget *mParentWidget = nullptr;
QWidget *const mParentWidget;
QCheckBox *mDeleteCheckBox = nullptr;
QCheckBox *mRecursiveCheckBox = nullptr;
MailCommon::FolderRequester *mFolderRequester = nullptr;
......
......@@ -34,7 +34,7 @@ KMKnotify::KMKnotify(QWidget *parent)
mainLayout->addWidget(m_notifyWidget);
m_comboNotify->setFocus();
mainLayout->addWidget(new KSeparator);
mainLayout->addWidget(new KSeparator(this));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
......
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