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:
parent
fea5da5c10
commit
2dd4f93bd0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue