Fix crash when copying a closed playlist to a device

Fixes #551
This commit is contained in:
Jonas Kvinge
2020-10-08 19:19:39 +02:00
parent f0ae1051ee
commit 6d080a0d59
2 changed files with 29 additions and 10 deletions

View File

@@ -102,7 +102,9 @@ class PlaylistListContainer : public QWidget {
QAction *action_new_folder_;
QAction *action_remove_;
QAction *action_save_playlist_;
#ifndef Q_OS_WIN
QAction *action_copy_to_device_;
#endif
PlaylistListModel *model_;
QSortFilterProxyModel *proxy_;