aboutsummaryrefslogtreecommitdiff
path: root/src/header.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-04-20 12:07:48 -0400
committerYour Name <you@example.com>2022-04-20 12:07:48 -0400
commit534088c3c721654fef662a2d2051d1ff3bbb1c20 (patch)
tree91f0bfdd26164435906fbcd66d3a9753ed36a0c5 /src/header.cc
parent7fc9d0c19efb22cb02af7f34c8473c960ec2d02e (diff)
downloadbiblereader-534088c3c721654fef662a2d2051d1ff3bbb1c20.tar.gz
biblereader-534088c3c721654fef662a2d2051d1ff3bbb1c20.tar.bz2
biblereader-534088c3c721654fef662a2d2051d1ff3bbb1c20.zip
Code simplifications
Diffstat (limited to 'src/header.cc')
-rw-r--r--src/header.cc3
1 files changed, 1 insertions, 2 deletions
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<std::string> 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();
}