mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Merge remote-tracking branch 'origin/Plasma/5.23'
This commit is contained in:
commit
5411b8c962
2 changed files with 3 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ include(KDEGitCommitHooks)
|
|||
include(KDEClangFormat)
|
||||
include(FeatureSummary)
|
||||
|
||||
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
|
||||
|
||||
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
|
||||
Core
|
||||
Qml
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ void PhonePanel::handleMetaDataReceived(const QVariantMap &metadata, int fd)
|
|||
KNotification *notif = new KNotification("captured");
|
||||
notif->setComponentName(QStringLiteral("plasma_phone_components"));
|
||||
notif->setTitle(i18n("New Screenshot"));
|
||||
notif->setUrls({filePath});
|
||||
notif->setUrls({QUrl::fromLocalFile(filePath)});
|
||||
notif->setText(i18n("New screenshot saved to %1", filePath));
|
||||
notif->sendEvent();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue