When adding songs to an existing play lists, dont allow play list files to be added.
BUG: 372
This commit is contained in:
committed by
craig.p.drummond
parent
0fc8ecb33e
commit
164cf713aa
@@ -33,6 +33,8 @@
|
||||
5. If icon theme does not have network-server, then use audio file icon for
|
||||
HTTP server settings page.
|
||||
6. Fix truncated files served from internal HTTP server.
|
||||
7. When adding songs to an existing play lists, dont allow play list files to
|
||||
be added.
|
||||
|
||||
1.2.1
|
||||
-----
|
||||
|
||||
@@ -201,7 +201,7 @@ Song AlbumsPage::coverRequest() const
|
||||
|
||||
void AlbumsPage::addSelectionToPlaylist(const QString &name, bool replace, quint8 priorty, bool randomAlbums)
|
||||
{
|
||||
QStringList files=selectedFiles(true, randomAlbums);
|
||||
QStringList files=selectedFiles(name.isEmpty(), randomAlbums);
|
||||
|
||||
if (!files.isEmpty()) {
|
||||
if (name.isEmpty()) {
|
||||
|
||||
@@ -235,7 +235,7 @@ QStringList FolderPage::selectedFiles(bool allowPlaylists) const
|
||||
|
||||
void FolderPage::addSelectionToPlaylist(const QString &name, bool replace, quint8 priorty)
|
||||
{
|
||||
QStringList files=selectedFiles(true);
|
||||
QStringList files=selectedFiles(name.isEmpty());
|
||||
|
||||
if (!files.isEmpty()) {
|
||||
if (name.isEmpty()) {
|
||||
|
||||
@@ -226,7 +226,7 @@ Song LibraryPage::coverRequest() const
|
||||
|
||||
void LibraryPage::addSelectionToPlaylist(const QString &name, bool replace, quint8 priorty, bool randomAlbums)
|
||||
{
|
||||
QStringList files=selectedFiles(true, randomAlbums);
|
||||
QStringList files=selectedFiles(name.isEmpty(), randomAlbums);
|
||||
|
||||
if (!files.isEmpty()) {
|
||||
if (name.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user