Skip to content

Commit

Permalink
Remove temporary refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Apr 12, 2020
1 parent 2326ec9 commit 43f85f1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/mainmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ MainMenu::MainMenu(spt::Spotify &spotify, QWidget *parent) : QMenu(parent), pare
dialog.exec();
});
addAction(openSettings);
// Debug stuff
addSeparator();
auto refPlaylist = addAction(
QIcon::fromTheme("reload"), "Refresh current playlist");
QAction::connect(refPlaylist, &QAction::triggered, [window]() {
auto currentPlaylist = window->sptPlaylists->at(window->playlists->currentRow());
window->refreshPlaylist(currentPlaylist, true);
});
// Log out and quit
addSeparator();
auto quitAction = createMenuAction("application-exit", "Quit", QKeySequence::Quit);
Expand Down

0 comments on commit 43f85f1

Please sign in to comment.