diff --git a/src/doc/test_context.h b/src/doc/test_context.h index a51aed278..eeb672073 100644 --- a/src/doc/test_context.h +++ b/src/doc/test_context.h @@ -36,12 +36,12 @@ namespace doc { } void onAddDocument(Document* doc) override { - notifyActiveDocumentChanged(m_activeDoc = doc); + this->notifyActiveDocumentChanged(m_activeDoc = doc); } void onRemoveDocument(Document* doc) override { if (m_activeDoc == doc) - notifyActiveDocumentChanged(m_activeDoc = nullptr); + this->notifyActiveDocumentChanged(m_activeDoc = nullptr); } private: diff --git a/src/updater/CMakeLists.txt b/src/updater/CMakeLists.txt index adf53ce1c..829973e49 100644 --- a/src/updater/CMakeLists.txt +++ b/src/updater/CMakeLists.txt @@ -12,3 +12,4 @@ elseif(APPLE) endif() add_library(updater-lib ${UPDATER_LIB_SOURCES}) +target_link_libraries(updater-lib net-lib)