diff options
| author | Karol Kosek <krkk@krkk.ct8.pl> | 2020-12-26 13:43:25 +0100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-27 00:03:30 +0100 |
| commit | 13ea5684612b85bd897e1e79d88737bc0e691b49 (patch) | |
| tree | 41339368e31066b0440fa97ecbdfd453901b9f8b /src/widgets/mediaplayer.cpp | |
| parent | 136fead7a537d642e700d1696b655c4fed4ae398 (diff) | |
| download | kristall-13ea5684612b85bd897e1e79d88737bc0e691b49.tar.gz | |
Use standard icon names
document-{export,import}, and view-certificate aren't in the standard though.
https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
Diffstat (limited to 'src/widgets/mediaplayer.cpp')
| -rw-r--r-- | src/widgets/mediaplayer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widgets/mediaplayer.cpp b/src/widgets/mediaplayer.cpp index e510d21..6344cff 100644 --- a/src/widgets/mediaplayer.cpp +++ b/src/widgets/mediaplayer.cpp @@ -80,7 +80,8 @@ void MediaPlayer::on_media_positionChanged(qint64 pos) void MediaPlayer::on_media_playbackChanged(QMediaPlayer::State status) { - this->ui->playpause_button->setIcon( - (status == QMediaPlayer::PlayingState) ? QIcon::fromTheme("pause") : QIcon::fromTheme("play") + this->ui->playpause_button->setIcon((status == QMediaPlayer::PlayingState) + ? QIcon::fromTheme("media-playback-pause") + : QIcon::fromTheme("media-playback-start") ); } |
