Commit 0b869377 authored by Laurent Montel's avatar Laurent Montel 😁

Continue to port settings

parent 8bdb1561
Pipeline #27064 passed with stage
in 36 minutes and 14 seconds
......@@ -79,6 +79,7 @@
#include <QLocale>
#include <QTimeEdit>
#include <KAboutData>
#include <QButtonGroup>
#ifdef WITH_KUSERFEEDBACK
#include <KUserFeedback/FeedbackConfigWidget>
......@@ -120,6 +121,14 @@ KOPrefsDialogMain::KOPrefsDialogMain(QWidget *parent)
// IncidenceEditorNG::IncidenceEditorSettings::self()->defaultEmailAttachMethodItem(),
// personalFrame);
// personalLayout->addWidget(defaultEmailAttachMethod->groupBox());
QGroupBox *defaultEmailAttachMethodGroupBox = new QGroupBox(this);
QButtonGroup *defaultEmailAttachGroup = new QButtonGroup(this);
QRadioButton *askRadioButton = new QRadioButton(i18n("Always ask"), this);
defaultEmailAttachGroup->addButton(askRadioButton, IncidenceEditorNG::IncidenceEditorSettingsBase::EnumDefaultEmailAttachMethod::Ask);
QVBoxLayout *defaultEmailAttachMethodGroupBoxLayout = new QVBoxLayout(defaultEmailAttachMethodGroupBox);
defaultEmailAttachMethodGroupBoxLayout->addWidget(askRadioButton);
personalLayout->addWidget(defaultEmailAttachMethodGroupBox);
personalLayout->addStretch(1);
// Save Settings
......
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