diff --git a/core/deck.cpp b/core/deck.cpp index c13fa89b..e5e473c8 100644 --- a/core/deck.cpp +++ b/core/deck.cpp @@ -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) { diff --git a/include/core/queue.h b/include/core/queue.h index cd534150..5b8f3f51 100644 --- a/include/core/queue.h +++ b/include/core/queue.h @@ -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. */ }; diff --git a/tests/core/queue.cpp b/tests/core/queue.cpp index 9d7be201..66d67381 100644 --- a/tests/core/queue.cpp +++ b/tests/core/queue.cpp @@ -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); }