fix linter more

This commit is contained in:
vaxerski 2022-08-18 18:05:40 +02:00
parent a23d58e900
commit e8942feefc

View File

@ -71,8 +71,7 @@ void Language::onEvent(const std::string& ev) {
void Language::initLanguage() { void Language::initLanguage() {
const auto INPUTDEVICES = gIPC->getSocket1Reply("devices"); const auto INPUTDEVICES = gIPC->getSocket1Reply("devices");
if (!config_.isMember("keyboard-name")) if (!config_.isMember("keyboard-name")) return;
return;
const auto KEEBNAME = config_["keyboard-name"].asString(); const auto KEEBNAME = config_["keyboard-name"].asString();