mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Minor changes to the log output when reloading views manually in debug mode.
This commit is contained in:
parent
3355d6f208
commit
d9c7932f0d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue