Skip to content

Commit

Permalink
playback-history-qt: Set a menu icon
Browse files Browse the repository at this point in the history
There is no fitting icon available in all themes but "view-history"
looks well at least on KDE with the Breeze or Oxygen icon theme.
  • Loading branch information
radioactiveman committed Jan 11, 2025
1 parent 92d8487 commit c7448c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qtui/menus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ QMenuBar * qtui_build_menubar(QWidget * parent)
{N_("Song _Info ..."), "dialog-information", "Ctrl+I"},
audqt::infowin_show_current),
audqt::MenuCommand(
{N_("Playback Histor_y ..."), nullptr, "Ctrl+H"},
{N_("Playback Histor_y ..."), "view-history", "Ctrl+H"},
show_playback_history),
audqt::MenuSep(),
audqt::MenuCommand({N_("Set Repeat Point _A"), nullptr, "Ctrl+1"},
Expand Down
2 changes: 1 addition & 1 deletion src/skins-qt/menus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static const audqt::MenuItem main_items[] = {

static const audqt::MenuItem playback_items[] = {
audqt::MenuCommand ({N_("Song Info ..."), "dialog-information", "I"}, audqt::infowin_show_current),
audqt::MenuCommand ({N_("Playback History ..."), nullptr, "H"}, action_playback_history),
audqt::MenuCommand ({N_("Playback History ..."), "view-history", "H"}, action_playback_history),
audqt::MenuSep (),
audqt::MenuToggle ({N_("Repeat"), "media-playlist-repeat", "R"}, {nullptr, "repeat", "set repeat"}),
audqt::MenuToggle ({N_("Shuffle"), "media-playlist-shuffle", "S"}, {nullptr, "shuffle", "set shuffle"}),
Expand Down

0 comments on commit c7448c7

Please sign in to comment.