mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
parent
0d826570bd
commit
9199aa8216
@ -5,7 +5,6 @@
|
|||||||
// qt incl
|
// qt incl
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
// Hyperion includes
|
// Hyperion includes
|
||||||
#include <hyperion/PriorityMuxer.h>
|
#include <hyperion/PriorityMuxer.h>
|
||||||
@ -273,7 +272,7 @@ bool PriorityMuxer::clearInput(int priority)
|
|||||||
// on clear success update _currentPriority
|
// on clear success update _currentPriority
|
||||||
setCurrentTime();
|
setCurrentTime();
|
||||||
// emit 'prioritiesChanged' only if _sourceAutoSelectEnabled is false
|
// emit 'prioritiesChanged' only if _sourceAutoSelectEnabled is false
|
||||||
if (!_sourceAutoSelectEnabled || _currentPriority < priority)
|
if ((!_sourceAutoSelectEnabled && (_currentPriority < priority)) || _currentPriority == BG_PRIORITY)
|
||||||
emit prioritiesChanged();
|
emit prioritiesChanged();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user