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

Fix typo

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