Commit 63338b5d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add KUserFeedback::NotificationPopup

parent e19e8f17
......@@ -49,6 +49,8 @@
#include <QNetworkConfigurationManager>
#ifdef WITH_KUSERFEEDBACK
#include "userfeedback/userfeedbackmanager.h"
#include <KUserFeedback/NotificationPopup>
#include <KUserFeedback/Provider>
#endif
SieveEditorMainWindow::SieveEditorMainWindow(QWidget *parent)
......@@ -78,6 +80,10 @@ SieveEditorMainWindow::SieveEditorMainWindow(QWidget *parent)
connect(mMainWidget->sieveEditorMainWidget(), &SieveEditorMainWidget::copyAvailable, this, &SieveEditorMainWindow::slotCopyAvailable);
connect(mMainWidget->sieveEditorMainWidget(), &SieveEditorMainWidget::sieveEditorTabCurrentChanged, this, &SieveEditorMainWindow::slotUpdateActions);
mMainWidget->sieveEditorMainWidget()->refreshList();
#ifdef WITH_KUSERFEEDBACK
KUserFeedback::NotificationPopup *userFeedBackNotificationPopup = new KUserFeedback::NotificationPopup(this);
userFeedBackNotificationPopup->setFeedbackProvider(UserFeedBackManager::self()->userFeedbackProvider());
#endif
}
SieveEditorMainWindow::~SieveEditorMainWindow()
......
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