Removed mods from lambda
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ec063470d7
commit
3ee0fec729
@ -100,7 +100,7 @@ ModFolderPage::ModFolderPage(BaseInstance* inst, std::shared_ptr<ModFolderModel>
|
|||||||
[this, check_allow_update] { ui->actionUpdateItem->setEnabled(check_allow_update()); });
|
[this, check_allow_update] { ui->actionUpdateItem->setEnabled(check_allow_update()); });
|
||||||
|
|
||||||
connect(mods.get(), &ModFolderModel::updateFinished, this,
|
connect(mods.get(), &ModFolderModel::updateFinished, this,
|
||||||
[this, check_allow_update, mods] { ui->actionUpdateItem->setEnabled(check_allow_update()); });
|
[this, check_allow_update] { ui->actionUpdateItem->setEnabled(check_allow_update()); });
|
||||||
|
|
||||||
connect(m_instance, &BaseInstance::runningStatusChanged, this, &ModFolderPage::runningStateChanged);
|
connect(m_instance, &BaseInstance::runningStatusChanged, this, &ModFolderPage::runningStateChanged);
|
||||||
ModFolderPage::runningStateChanged(m_instance && m_instance->isRunning());
|
ModFolderPage::runningStateChanged(m_instance && m_instance->isRunning());
|
||||||
|
Loading…
Reference in New Issue
Block a user