Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions panels/notification/server/notificationmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
#include <QProcess>
#include <QTimer>
#include <QLoggingCategory>
#include <QJsonArray>

Check warning on line 22 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QJsonArray> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QJsonDocument>

Check warning on line 23 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QJsonDocument> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QJsonObject>

Check warning on line 24 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QJsonObject> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <applet.h>
#include <QGuiApplication>

Check warning on line 25 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QGuiApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results.

#include <appletbridge.h>

Check warning on line 27 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <appletbridge.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <pluginloader.h>

Check warning on line 28 in panels/notification/server/notificationmanager.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <pluginloader.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

DCORE_USE_NAMESPACE
DS_USE_NAMESPACE
Expand Down Expand Up @@ -77,7 +78,9 @@
// TODO temporary fix for AppNamesMap
m_appNamesMap = config->value("AppNamesMap").toMap();

initScreenLockedState();
if (QStringLiteral("wayland") != QGuiApplication::platformName()) {
initScreenLockedState();
}
}

NotificationManager::~NotificationManager()
Expand Down