gui: Don't call tempq_save() in the qop_cleared() handler

The first thing queue_deinit() does is clear the queue, so calling
tempq_save() here will overwrite any tempq state currently on disk.
This seems reasonable at first, but ends up erasing any temporary queues
during Ocarina shutdown.

Fixes #34: Temporary queues not saving
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-03-17 12:13:23 -04:00
parent fea5da5c10
commit 2dd4f93bd0
1 changed files with 0 additions and 1 deletions

View File

@ -36,7 +36,6 @@ static void tempq_removed(struct queue *queue, unsigned int pos)
static void tempq_cleared(struct queue *queue, unsigned int n)
{
find_tab(queue)->on_tracks_cleared(n);
tempq_save(queue, Q_ENABLED);
}
static void tempq_updated(struct queue *queue, unsigned int pos)