PlaylistView: Move ifdef
This commit is contained in:
parent
7df4453560
commit
384e7dedb5
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue