diff options
| author | Méven Car <[email protected]> | 2019-09-02 07:00:13 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2019-09-02 07:00:31 +0200 |
| commit | 9996b1f89c70b00427477c98abe93c5696d993c6 (patch) | |
| tree | 87999c18c8d462997be4d5a287212c4cd8a45e24 /src/panels/information/phononwidget.h | |
| parent | 290411cf1c86eb3c512eb4b1b2bd1ddc381ad2af (diff) | |
Replace the stop button of the media preview by a pause button
Summary:
Stop is not as useful as paused plus it makes the button coherent with the click to play/pause feature.
CCBUG: 364957
Test Plan: {F7305382}
Reviewers: #dolphin, elvisangelaccio, ngraham
Reviewed By: #dolphin, ngraham
Subscribers: ngraham, kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D23648
Diffstat (limited to 'src/panels/information/phononwidget.h')
| -rw-r--r-- | src/panels/information/phononwidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/panels/information/phononwidget.h b/src/panels/information/phononwidget.h index 90a1d1e5a..961443d2e 100644 --- a/src/panels/information/phononwidget.h +++ b/src/panels/information/phononwidget.h @@ -89,11 +89,13 @@ class PhononWidget : public QWidget void applyVideoSize(); private: + void togglePlayback(); + QUrl m_url; QSize m_videoSize; QToolButton *m_playButton; - QToolButton *m_stopButton; + QToolButton *m_pauseButton; QVBoxLayout *m_topLayout; Phonon::MediaObject *m_media; |
