[plasma/kdeplasma-addons/Plasma/6.7] applets/mediaframe: applets/mediaframe: Fix media not updating when watched file changes on disk
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit f2952d2aa44001dcc8000e959dd3902b987a45f6 by Nate Graham. Committed on 22/07/2026 at 16:08. Pushed by ngraham into branch 'Plasma/6.7'. applets/mediaframe: Fix media not updating when watched file changes on disk Emit correct file:// URL from slotItemChanged. BUG: 521538 FIXED-IN: 6.6.7 (cherry picked from commit d7576bc86082f0078978fc56d7482f06ae970982) 7688a942 applets/mediaframe: Fix media not updating when the watched file changes on disk Co-authored-by: David Wild <[email protected]> M +1 -1 applets/mediaframe/mediaframe.cpp https://invent.kde.org/plasma/kdeplasma-addons/-/commit/f2952d2aa44001dcc8000e959dd3902b987a45f6 diff --git a/applets/mediaframe/mediaframe.cpp b/applets/mediaframe/mediaframe.cpp index 265d8a6ce..7f87e5fd9 100644 --- a/applets/mediaframe/mediaframe.cpp +++ b/applets/mediaframe/mediaframe.cpp @@ -337,7 +337,7 @@ int MediaFrame::futureLength() const void MediaFrame::slotItemChanged(const QString &path) { - Q_EMIT itemChanged(path); + Q_EMIT itemChanged(QUrl::fromLocalFile(path).toString()); } void MediaFrame::slotFinished(KJob *job)