lcd4l: rename OnAfterError->OnError

Origin commit data
------------------
Commit: 0705705b31
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-07-17 (Sat, 17 Jul 2021)
This commit is contained in:
2021-07-17 22:49:19 +02:00
committed by vanhofen
parent 9ce7b42504
commit ec68da4f67
3 changed files with 5 additions and 5 deletions

View File

@@ -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();
}
}
}

View File

@@ -73,7 +73,7 @@ class CLCD4l
OnAfterStop,
OnBeforeRestart,
OnAfterRestart,
OnAfterError;
OnAfter;
private:
std::thread *thrLCD4l;

View File

@@ -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);
}