queue: Remove Q_NOTIFY_REMOVE flag
It no longer has any meaning. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
9ebb31e09b
commit
eabb5ef856
|
@ -28,7 +28,7 @@ static File deck_file("deck", 1);
|
|||
|
||||
TempQueue :: TempQueue() {}
|
||||
TempQueue :: TempQueue(bool random)
|
||||
: Queue(Q_ENABLED | (random ? Q_RANDOM : 0) | Q_NOTIFY_REMOVE) {}
|
||||
: Queue(Q_ENABLED | (random ? Q_RANDOM : 0)) {}
|
||||
|
||||
void TempQueue :: set_flag(queue_flags flag)
|
||||
{
|
||||
|
|
|
@ -16,11 +16,10 @@
|
|||
* Enum defining flags that effect a Queue's behavior.
|
||||
*/
|
||||
enum queue_flags {
|
||||
Q_ENABLED = (1 << 0), /**< Queue is enabled. */
|
||||
Q_RANDOM = (1 << 1), /**< Queue will pick songs randomly. */
|
||||
Q_REPEAT = (1 << 2), /**< Queue will not remove songs when picked. */
|
||||
Q_NO_SORT = (1 << 3), /**< Queue will not be sorted. */
|
||||
Q_NOTIFY_REMOVE = (1 << 4), /**< Queue will send a notification when removed. */
|
||||
Q_ENABLED = (1 << 0), /**< Queue is enabled. */
|
||||
Q_RANDOM = (1 << 1), /**< Queue will pick songs randomly. */
|
||||
Q_REPEAT = (1 << 2), /**< Queue will not remove songs when picked. */
|
||||
Q_NO_SORT = (1 << 3), /**< Queue will not be sorted. */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -81,7 +81,6 @@ void test_flags()
|
|||
test_equal(q.has_flag(Q_RANDOM), true);
|
||||
test_equal(q.has_flag(Q_REPEAT), true);
|
||||
test_equal(q.has_flag(Q_NO_SORT), false);
|
||||
test_equal(q.has_flag(Q_NOTIFY_REMOVE), false);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue