diff --git a/src/daemon/trayicon.cpp b/src/daemon/trayicon.cpp index 1ae7868..8b01540 100644 --- a/src/daemon/trayicon.cpp +++ b/src/daemon/trayicon.cpp @@ -42,7 +42,7 @@ void TrayIcon::initConextMenu() { m_settings = new SettingsDialog(); QDialogButtonBox *box = new QDialogButtonBox(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset, m_settings); - connect(box, QDialogButtonBox::clicked,[&,box](QAbstractButton *button){ + connect(box, &QDialogButtonBox::clicked,[&,box](QAbstractButton *button){ switch (box->buttonRole(button)) { case QDialogButtonBox::AcceptRole: m_settings->accept(); diff --git a/src/plugins/backends/freedesktop/freedesktopnotification_backend.cpp b/src/plugins/backends/freedesktop/freedesktopnotification_backend.cpp index d734bce..dc1c5e8 100644 --- a/src/plugins/backends/freedesktop/freedesktopnotification_backend.cpp +++ b/src/plugins/backends/freedesktop/freedesktopnotification_backend.cpp @@ -1,10 +1,10 @@ #include "freedesktopnotification_backend.h" -#include "core/notification/notification.h" -#include "core/notification/notification_p.h" -#include "core/snore_p.h" +#include "libsnore/notification/notification.h" +#include "libsnore/notification/notification_p.h" +#include "libsnore/snore_p.h" #include "fredesktopnotification.h" -#include "core/snore.h" +#include "libsnore/snore.h" using namespace Snore; diff --git a/src/plugins/backends/freedesktop/freedesktopnotification_backend.h b/src/plugins/backends/freedesktop/freedesktopnotification_backend.h index 41030b4..35a73f3 100644 --- a/src/plugins/backends/freedesktop/freedesktopnotification_backend.h +++ b/src/plugins/backends/freedesktop/freedesktopnotification_backend.h @@ -1,6 +1,6 @@ #ifndef FREEDESKTOPNOTIFICATION_H #define FREEDESKTOPNOTIFICATION_H -#include "core/plugins/snorebackend.h" +#include "libsnore/plugins/snorebackend.h" #include "notificationinterface.h" class FreedesktopBackend: public Snore::SnoreBackend