From 821ec1b72e341617a2ed1b95d6a7d18e8eebbc4b Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 18 Nov 2020 11:42:13 -0500 Subject: Updated to latest libbible API --- mods.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods.cc b/mods.cc index e1228aa..99985b6 100644 --- a/mods.cc +++ b/mods.cc @@ -65,6 +65,7 @@ void Mods::endProgress() { } Mods::Mods(Header *header, Gtk::Window *window) : modsAvailable(), progressDialog("", false, Gtk::MessageType::MESSAGE_INFO, Gtk::ButtonsType::BUTTONS_CANCEL), progressBar(), dispatcher(), progressMutex(), worker(nullptr) { + libbible::setStatusReporter(*this); this->header = header; this->window = window; dispatcher.connect(sigc::mem_fun(*this, &Mods::onNotify)); @@ -204,5 +205,5 @@ void Mods::updateInstallable() { if(! modsAvailable.empty()) { return; } - modsAvailable = libbible::downloadModsAvailable(this); + modsAvailable = libbible::downloadModsAvailable(); } -- cgit v1.2.3