build fix

This commit is contained in:
Patrick von Reth 2015-03-20 13:20:19 +01:00
parent df18b00985
commit 886a71eee3
3 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ void TrayIcon::initConextMenu()
{ {
m_settings = new SettingsDialog(); m_settings = new SettingsDialog();
QDialogButtonBox *box = new QDialogButtonBox(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset, m_settings); 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)) { switch (box->buttonRole(button)) {
case QDialogButtonBox::AcceptRole: case QDialogButtonBox::AcceptRole:
m_settings->accept(); m_settings->accept();

View File

@ -1,10 +1,10 @@
#include "freedesktopnotification_backend.h" #include "freedesktopnotification_backend.h"
#include "core/notification/notification.h" #include "libsnore/notification/notification.h"
#include "core/notification/notification_p.h" #include "libsnore/notification/notification_p.h"
#include "core/snore_p.h" #include "libsnore/snore_p.h"
#include "fredesktopnotification.h" #include "fredesktopnotification.h"
#include "core/snore.h" #include "libsnore/snore.h"
using namespace Snore; using namespace Snore;

View File

@ -1,6 +1,6 @@
#ifndef FREEDESKTOPNOTIFICATION_H #ifndef FREEDESKTOPNOTIFICATION_H
#define FREEDESKTOPNOTIFICATION_H #define FREEDESKTOPNOTIFICATION_H
#include "core/plugins/snorebackend.h" #include "libsnore/plugins/snorebackend.h"
#include "notificationinterface.h" #include "notificationinterface.h"
class FreedesktopBackend: public Snore::SnoreBackend class FreedesktopBackend: public Snore::SnoreBackend