PlaylistView: Move ifdef

This commit is contained in:
Jonas Kvinge 2023-02-10 22:47:55 +01:00
parent 7df4453560
commit 384e7dedb5
1 changed files with 2 additions and 2 deletions

View File

@ -688,13 +688,13 @@ void PlaylistView::keyPressEvent(QKeyEvent *event) {
else if (event == QKeySequence::Delete) {
RemoveSelected();
event->accept();
#ifdef Q_OS_MACOS
}
#ifdef Q_OS_MACOS
else if (event->key() == Qt::Key_Backspace) {
RemoveSelected();
event->accept();
#endif
}
#endif
else if (event == QKeySequence::Copy) {
CopyCurrentSongToClipboard();
}