on xenial help sign in
Audio Preview Button: Don't gain focus on press
42d84efAlbert Astals Cid
qml/Dash/Previews/PreviewAudioPlayback.qml+1
@@ -71,6 +71,7 @@ PreviewWidget {
71 width: trackRow.column1Width
71 width: trackRow.column1Width
72 height: width
72 height: width
73 iconSource: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-playback-pause" : "image://theme/media-playback-start"
73 iconSource: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-playback-pause" : "image://theme/media-playback-start"
74+ activeFocusOnPress: false
74
75
75 // Can't be "transparent" or "#00xxxxxx" as the button optimizes away the surrounding shape
76 // Can't be "transparent" or "#00xxxxxx" as the button optimizes away the surrounding shape
76 // FIXME when this is resolved: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1251685
77 // FIXME when this is resolved: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1251685