build fix
This commit is contained in:
parent
df18b00985
commit
886a71eee3
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue