1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-11 08:15:30 +01:00

PlaylistView: Move ifdef

This commit is contained in:
Jonas Kvinge 2023-02-10 22:47:55 +01:00
parent 7df4453560
commit 384e7dedb5

View File

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