mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix typos (#1051)
* Fix typo in handlePriorityChangedLedDevice * Typo * Correct description * Correct LedDeviceTemplate
This commit is contained in:
parent
3bf1089763
commit
7e370b3d8b
@ -474,7 +474,7 @@ private slots:
|
||||
void handleNewVideoMode(VideoMode mode) { _currVideoMode = mode; }
|
||||
|
||||
|
||||
void handlPriorityChangedLedDevice(const quint8& priority);
|
||||
void handlePriorityChangedLedDevice(const quint8& priority);
|
||||
|
||||
private:
|
||||
friend class HyperionDaemon;
|
||||
|
@ -208,7 +208,7 @@ void EffectFileHandler::updateEffects()
|
||||
{
|
||||
if(directory.mkpath(path))
|
||||
{
|
||||
Info(_log, "New Effect path \"%s\" created successfull", QSTRING_CSTR(path) );
|
||||
Info(_log, "New Effect path \"%s\" created successfully", QSTRING_CSTR(path) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ void Hyperion::start()
|
||||
|
||||
// connect Hyperion::update with Muxer visible priority changes as muxer updates independent
|
||||
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::update);
|
||||
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlPriorityChangedLedDevice);
|
||||
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlePriorityChangedLedDevice);
|
||||
connect(&_muxer, &PriorityMuxer::visibleComponentChanged, this, &Hyperion::handleVisibleComponentChanged);
|
||||
|
||||
// listens for ComponentRegister changes of COMP_ALL to perform core enable/disable actions
|
||||
@ -531,7 +531,7 @@ void Hyperion::handleVisibleComponentChanged(hyperion::Components comp)
|
||||
_raw2ledAdjustment->setBacklightEnabled((comp != hyperion::COMP_COLOR && comp != hyperion::COMP_EFFECT));
|
||||
}
|
||||
|
||||
void Hyperion::handlPriorityChangedLedDevice(const quint8& priority)
|
||||
void Hyperion::handlePriorityChangedLedDevice(const quint8& priority)
|
||||
{
|
||||
quint8 previousPriority = _muxer.getPreviousPriority();
|
||||
|
||||
|
@ -3,10 +3,6 @@
|
||||
LedDeviceTemplate::LedDeviceTemplate(const QJsonObject &deviceConfig)
|
||||
: LedDevice()
|
||||
{
|
||||
_devConfig = deviceConfig;
|
||||
_isDeviceReady = false;
|
||||
|
||||
_activeDeviceType = deviceConfig["type"].toString("UNSPECIFIED").toLower();
|
||||
}
|
||||
|
||||
LedDevice* LedDeviceTemplate::construct(const QJsonObject &deviceConfig)
|
||||
|
@ -92,7 +92,7 @@ protected:
|
||||
///
|
||||
/// @brief Power-/turn on the WLED device.
|
||||
///
|
||||
/// @brief Store the device's original state.
|
||||
/// @return True if success
|
||||
///
|
||||
bool powerOn() override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user