diff --git a/src/driver/lcd4l.cpp b/src/driver/lcd4l.cpp index d33291493..34498bfe7 100644 --- a/src/driver/lcd4l.cpp +++ b/src/driver/lcd4l.cpp @@ -169,7 +169,7 @@ void CLCD4l::StartLCD4l() if (exec_initscript("lcd4linux", "start")) OnAfterStart(); else - OnAfterError(); + OnError(); } } @@ -192,7 +192,7 @@ void CLCD4l::StopLCD4l() if (exec_initscript("lcd4linux", "stop")) OnAfterStop(); else - OnAfterError(); + OnError(); } void CLCD4l::SwitchLCD4l() @@ -861,7 +861,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun) if (exec_initscript("lcd4linux", "restart")) OnAfterRestart(); else - OnAfterError(); + OnError(); } } } diff --git a/src/driver/lcd4l.h b/src/driver/lcd4l.h index b8cebde27..b51d84a0b 100644 --- a/src/driver/lcd4l.h +++ b/src/driver/lcd4l.h @@ -73,7 +73,7 @@ class CLCD4l OnAfterStop, OnBeforeRestart, OnAfterRestart, - OnAfterError; + OnAfter; private: std::thread *thrLCD4l; diff --git a/src/gui/lcd4l_setup.cpp b/src/gui/lcd4l_setup.cpp index e35ac98a7..6f73feaaa 100644 --- a/src/gui/lcd4l_setup.cpp +++ b/src/gui/lcd4l_setup.cpp @@ -341,5 +341,5 @@ void CLCD4lSetup::connectSlots() CLCD4l::getInstance()->OnAfterStop.connect(sl_remove); CLCD4l::getInstance()->OnAfterRestart.connect(sl_remove); - CLCD4l::getInstance()->OnAfterError.connect(sl_remove); + CLCD4l::getInstance()->OnError.connect(sl_remove); }