Skip to content

Commit

Permalink
Remove unused signals
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Sep 5, 2020
1 parent 68cbb80 commit d341cf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions include/hyperion/PriorityMuxer.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,6 @@ class PriorityMuxer : public QObject
///
void timeRunner();

///
/// @brief A priority has been added (registerInput()) or deleted, method clear or timeout clear
/// @param priority The priority which has changed
/// @param state If true it was added else it was removed!
///
void priorityChanged(const quint8& priority, const bool& state);

///
/// @brief Emits whenever the visible priority has changed
/// @param priority The new visible priority
Expand Down
3 changes: 0 additions & 3 deletions libsrc/hyperion/PriorityMuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ void PriorityMuxer::registerInput(const int priority, const hyperion::Components
if(newInput)
{
Debug(_log,"Register new input '%s/%s' with priority %d as inactive", QSTRING_CSTR(origin), hyperion::componentToIdString(component), priority);
emit priorityChanged(priority, true);
emit prioritiesChanged();
return;
}
Expand Down Expand Up @@ -256,7 +255,6 @@ bool PriorityMuxer::clearInput(const uint8_t priority)
Debug(_log,"Removed source priority %d",priority);
// on clear success update _currentPriority
setCurrentTime();
emit priorityChanged(priority, false);
emit prioritiesChanged();
return true;
}
Expand Down Expand Up @@ -298,7 +296,6 @@ void PriorityMuxer::setCurrentTime(void)
quint8 tPrio = infoIt->priority;
infoIt = _activeInputs.erase(infoIt);
Debug(_log,"Timeout clear for priority %d",tPrio);
emit priorityChanged(tPrio, false);
emit prioritiesChanged();
}
else
Expand Down

0 comments on commit d341cf1

Please sign in to comment.