feat(ui): make selected mods in downloader bold with underline

Makes it easier to find which mods are selected in case you want to
change those.
This commit is contained in:
flow
2022-04-28 20:14:03 -03:00
committed by flow
parent 613f2fc447
commit 8f2c485c92
4 changed files with 44 additions and 21 deletions

View File

@ -134,6 +134,12 @@ bool ModDownloadDialog::isModSelected(const QString &name, const QString& filena
return iter != modTask.end() && (iter.value()->getFilename() == filename);
}
bool ModDownloadDialog::isModSelected(const QString &name) const
{
auto iter = modTask.find(name);
return iter != modTask.end();
}
ModDownloadDialog::~ModDownloadDialog()
{
}