From c852a665891de8088ad674f73eb359b56f081bb4 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Fri, 8 May 2026 03:12:52 +0000 Subject: [PATCH] sync: from linuxdeepin/dde-session-shell Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: https://github.com/linuxdeepin/dde-session-shell/pull/66 --- src/session-widgets/lockcontent.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/session-widgets/lockcontent.cpp b/src/session-widgets/lockcontent.cpp index abda7d0f..4a6fde8e 100644 --- a/src/session-widgets/lockcontent.cpp +++ b/src/session-widgets/lockcontent.cpp @@ -836,13 +836,15 @@ void LockContent::tryGrabKeyboard(bool exitIfFailed) .path("/org/freedesktop/Notifications") .interface("org.freedesktop.Notifications") .method(QString("Notify")) -#ifndef ENABLE_DSS_SNIP +#ifndef ENABLE_DSS_SNIPE .arg(tr("Lock Screen")) + .arg(static_cast(0)) + .arg(QString("")) #else .arg(QString("dde-lock")) // appName -#endif .arg(static_cast(0)) - .arg(QString("")) + .arg(QString("notification-lock-screen-failed")) +#endif .arg(QString("")) .arg(tr("Failed to lock screen")) .arg(QStringList())