Commit 27b28e81 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix typo

parent 88752c6b
...@@ -54,7 +54,7 @@ MiscPage::MiscPage(QWidget *parent) ...@@ -54,7 +54,7 @@ MiscPage::MiscPage(QWidget *parent)
MiscPagePrintingTab *printingTab = new MiscPagePrintingTab(); MiscPagePrintingTab *printingTab = new MiscPagePrintingTab();
addTab(printingTab, i18n("Printing")); addTab(printingTab, i18n("Printing"));
#ifdef WITH_KUSERFEEDBACK #ifdef WITH_KUSERFEEDBACK
KuserFeedBackPagePrintingTab *userFeedBackTab = new KuserFeedBackPagePrintingTab(); KuserFeedBackPageTab *userFeedBackTab = new KuserFeedBackPageTab();
addTab(userFeedBackTab, i18n("User Feedback")); addTab(userFeedBackTab, i18n("User Feedback"));
#endif #endif
} }
...@@ -182,21 +182,21 @@ void MiscPagePrintingTab::save() ...@@ -182,21 +182,21 @@ void MiscPagePrintingTab::save()
} }
#ifdef WITH_KUSERFEEDBACK #ifdef WITH_KUSERFEEDBACK
KuserFeedBackPagePrintingTab::KuserFeedBackPagePrintingTab(QWidget *parent) KuserFeedBackPageTab::KuserFeedBackPageTab(QWidget *parent)
: ConfigModuleTab(parent) : ConfigModuleTab(parent)
{ {
mUserFeedbackWidget = new KUserFeedback::FeedbackConfigWidget(this); mUserFeedbackWidget = new KUserFeedback::FeedbackConfigWidget(this);
QHBoxLayout *l = new QHBoxLayout(this); QHBoxLayout *l = new QHBoxLayout(this);
l->setContentsMargins(0, 0, 0, 0); l->setContentsMargins(0, 0, 0, 0);
l->addWidget(mUserFeedbackWidget); l->addWidget(mUserFeedbackWidget);
connect(mUserFeedbackWidget, &KUserFeedback::FeedbackConfigWidget::configurationChanged, this, &KuserFeedBackPagePrintingTab::slotEmitChanged); connect(mUserFeedbackWidget, &KUserFeedback::FeedbackConfigWidget::configurationChanged, this, &KuserFeedBackPageTab::slotEmitChanged);
if (KMKernel::self()) { if (KMKernel::self()) {
mUserFeedbackWidget->setFeedbackProvider(KMKernel::self()->userFeedbackProvider()); mUserFeedbackWidget->setFeedbackProvider(KMKernel::self()->userFeedbackProvider());
} }
} }
void KuserFeedBackPagePrintingTab::save() void KuserFeedBackPageTab::save()
{ {
if (KMKernel::self()) { if (KMKernel::self()) {
// set current active mode + write back the config for future starts // set current active mode + write back the config for future starts
...@@ -205,12 +205,12 @@ void KuserFeedBackPagePrintingTab::save() ...@@ -205,12 +205,12 @@ void KuserFeedBackPagePrintingTab::save()
} }
} }
void KuserFeedBackPagePrintingTab::doResetToDefaultsOther() void KuserFeedBackPageTab::doResetToDefaultsOther()
{ {
} }
void KuserFeedBackPagePrintingTab::doLoadFromGlobalSettings() void KuserFeedBackPageTab::doLoadFromGlobalSettings()
{ {
} }
......
...@@ -93,11 +93,11 @@ private: ...@@ -93,11 +93,11 @@ private:
namespace KUserFeedback { namespace KUserFeedback {
class FeedbackConfigWidget; class FeedbackConfigWidget;
} }
class KuserFeedBackPagePrintingTab : public ConfigModuleTab class KuserFeedBackPageTab : public ConfigModuleTab
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit KuserFeedBackPagePrintingTab(QWidget *parent = nullptr); explicit KuserFeedBackPageTab(QWidget *parent = nullptr);
void save() override; void save() override;
void doResetToDefaultsOther() override; void doResetToDefaultsOther() override;
......
...@@ -236,11 +236,10 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo ...@@ -236,11 +236,10 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo
connect(mVacationManager, &KSieveUi::VacationManager::updateVacationScriptStatus, this, qOverload<bool, const QString &>(&KMMainWidget::updateVacationScriptStatus)); connect(mVacationManager, &KSieveUi::VacationManager::updateVacationScriptStatus, this, qOverload<bool, const QString &>(&KMMainWidget::updateVacationScriptStatus));
#ifdef WITH_KUSERFEEDBACK #ifdef WITH_KUSERFEEDBACK
mUserFeedBackNotificationPopup = new KUserFeedback::NotificationPopup(this); KUserFeedback::NotificationPopup *userFeedBackNotificationPopup = new KUserFeedback::NotificationPopup(this);
mUserFeedBackNotificationPopup->setFeedbackProvider(kmkernel->userFeedbackProvider()); userFeedBackNotificationPopup->setFeedbackProvider(kmkernel->userFeedbackProvider());
#endif #endif
mToolbarActionSeparator = new QAction(this); mToolbarActionSeparator = new QAction(this);
mToolbarActionSeparator->setSeparator(true); mToolbarActionSeparator->setSeparator(true);
......
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