mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix formatting
This commit is contained in:
parent
e6a83ad53b
commit
4f4a89e15d
@ -177,14 +177,14 @@ QVariant CModEntry::getValue(QString value) const
|
||||
|
||||
auto & storage = useRepositoryData ? repository : localData;
|
||||
|
||||
if (storage.contains(langValue))
|
||||
if(storage.contains(langValue))
|
||||
{
|
||||
auto langStorage = storage[langValue].toMap();
|
||||
if (langStorage.contains(value))
|
||||
return langStorage[value];
|
||||
}
|
||||
|
||||
if (storage.contains(value))
|
||||
if(storage.contains(value))
|
||||
return storage[value];
|
||||
|
||||
return QVariant();
|
||||
|
Loading…
Reference in New Issue
Block a user