on xenial help sign in
OMG... that hurts... more than one might imagine... at least the notifications show up now as expected.
44dae67Mirco Müller
tests/mocks/Unity/Notifications/MockNotification.cpp+1−3
@@ -19,8 +19,6 @@
19
19
20#include "MockNotification.h"
20#include "MockNotification.h"
21
21
22−#include <QDebug>
23−
24struct MockNotificationPrivate {
22struct MockNotificationPrivate {
25 unsigned int id;
23 unsigned int id;
26 QString summary;
24 QString summary;
@@ -130,7 +128,7 @@ MockNotification::Type MockNotification::getType() const {
130}
128}
131
129
132void MockNotification::setType(Type type) {
130void MockNotification::setType(Type type) {
133− if(p->type != p->type) {
131+ if(p->type != type) {
134 p->type = type;
132 p->type = type;
135 Q_EMIT typeChanged(p->type);
133 Q_EMIT typeChanged(p->type);
136 }
134 }
tests/mocks/Unity/Notifications/MockNotificationModel.cpp−1
@@ -28,7 +28,6 @@
28#include <QMap>
28#include <QMap>
29#include <QStringListModel>
29#include <QStringListModel>
30#include <QQmlEngine>
30#include <QQmlEngine>
31−#include <QDebug>
32
31
33using namespace unity::shell::notifications;
32using namespace unity::shell::notifications;
34
33