[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-workspace] wallpapers/image/imagepackage/contents/ui: Fixed access to current slideshow imag
From:       Nathaniel Graham <null () kde ! org>
Date:       2018-05-15 22:31:05
Message-ID: E1fIiTJ-00087w-Qo () code ! kde ! org
[Download RAW message or body]

Git commit 69a0e05bc54d0488c18bc2f0aad2e310eb581825 by Nathaniel Graham, on=
 behalf of Oded Arbel.
Committed on 15/05/2018 at 22:31.
Pushed by ngraham into branch 'master'.

Fixed access to current slideshow image using correct field in action_open

Summary:
With slideshow desktop wallpaper plugin, selecting "Open wallpaper Image" f=
rom RMB does nothing. It looks like the `action_open` method called by the =
RMB menu action is using an old field that no longer exists.

The patch updates the code to use the correct field.

BUG: 394035

Reviewers: #plasma_workspaces, ngraham, broulik

Reviewed By: #plasma_workspaces, ngraham, broulik

Subscribers: broulik, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12777

M  +1    -1    wallpapers/image/imagepackage/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/69a0e05bc54d0488c18bc2f0aad2e310eb=
581825

diff --git a/wallpapers/image/imagepackage/contents/ui/main.qml b/wallpaper=
s/image/imagepackage/contents/ui/main.qml
index ea1d6903..c59417b8 100644
--- a/wallpapers/image/imagepackage/contents/ui/main.qml
+++ b/wallpapers/image/imagepackage/contents/ui/main.qml
@@ -46,7 +46,7 @@ QQC2.StackView {
     }
 =

     function action_open() {
-        Qt.openUrlExternally(currentImage.source)
+        Qt.openUrlExternally(modelImage)
     }
 =

     //private
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic