From 534088c3c721654fef662a2d2051d1ff3bbb1c20 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 20 Apr 2022 12:07:48 -0400 Subject: Code simplifications --- src/header.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/header.cc') diff --git a/src/header.cc b/src/header.cc index 69e0742..58d1700 100644 --- a/src/header.cc +++ b/src/header.cc @@ -170,7 +170,7 @@ void Header::updateMenus() { delVersion->signal_clicked().connect([version, this]() { menuMenu.popdown(); std::vector toDel {version}; - this->mods->uninstallMods(toDel); + libbible::uninstallMod(version); reader->refresh(); updateButtons(); updateMenus(); @@ -199,7 +199,6 @@ void Header::updateMenus() { void Header::showMods() { window->remove(); window->add(*this->mods); - //this->mods->displayMain(); window->show_all_children(); } -- cgit v1.2.3