Minor changes to the log output when reloading views manually in debug mode.

This commit is contained in:
Leon Styhre 2021-03-21 11:26:28 +01:00
parent 3355d6f208
commit d9c7932f0d
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ bool SystemView::input(InputConfig* config, Input input)
if (input.value != 0) {
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
LOG(LogInfo) << "Reloading all";
LOG(LogDebug) << "SystemView::input(): Reloading all";
ViewController::get()->reloadAll();
return true;
}

View file

@ -30,7 +30,7 @@ bool IGameListView::input(InputConfig* config, Input input)
config->getDeviceId() == DEVICE_KEYBOARD &&
(SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL)) &&
input.id == SDLK_r && input.value != 0) {
LOG(LogDebug) << "reloading view";
LOG(LogDebug) << "IGameListView::input(): Reloading view";
ViewController::get()->reloadGameListView(this, true);
return true;
}