mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
code review
This commit is contained in:
@@ -54,7 +54,10 @@ void reLoadSettings()
|
||||
loadSettings();
|
||||
for(const auto widget : qApp->allWidgets())
|
||||
if(auto settingsView = qobject_cast<CSettingsView *>(widget))
|
||||
{
|
||||
settingsView->loadSettings();
|
||||
break;
|
||||
}
|
||||
getMainWindow()->updateTranslation();
|
||||
getMainWindow()->getModView()->reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user