mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Mark remaining todo's
This commit is contained in:
@@ -286,7 +286,7 @@ QStringList CModListView::getModNames(QString queryingModID, QStringList input)
|
|||||||
if (displayName.isEmpty())
|
if (displayName.isEmpty())
|
||||||
displayName = modID.toLower();
|
displayName = modID.toLower();
|
||||||
|
|
||||||
if (mod.isSubmod() && queryingMod.getParentID() != mod.getParentID() )
|
if (mod.isSubmod() && queryingMod.getParentID() != mod.getParentID() ) // FIXME: recheck this block
|
||||||
{
|
{
|
||||||
auto parentModID = mod.getTopParentID();
|
auto parentModID = mod.getTopParentID();
|
||||||
auto parentMod = modStateModel->getMod(parentModID);
|
auto parentMod = modStateModel->getMod(parentModID);
|
||||||
@@ -299,6 +299,8 @@ QStringList CModListView::getModNames(QString queryingModID, QStringList input)
|
|||||||
else
|
else
|
||||||
displayName = parentDisplayName;
|
displayName = parentDisplayName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: show active mods in bold?
|
||||||
result += displayName;
|
result += displayName;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user