diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/gpg/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/ui/MainWindow.cpp | 5 | ||||
-rw-r--r-- | src/ui/help/AboutDialog.cpp | 2 |
4 files changed, 11 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d5a713b1..bf9a89c2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -225,6 +225,10 @@ if (APPLICATION_BUILD) crypto ssl intl) else () message(STATUS "Link Application Static Library For UNIX ") + if (APP_IMAGE_UPDATE) + target_link_libraries(${AppName} + libappimageupdate) + endif () target_link_libraries(${AppName} ${GPGFRONTEND_LIBS} ${QT_DEPENDENCY_LIBS} diff --git a/src/gpg/CMakeLists.txt b/src/gpg/CMakeLists.txt index 886f8fdc..19b9f00f 100644 --- a/src/gpg/CMakeLists.txt +++ b/src/gpg/CMakeLists.txt @@ -34,9 +34,12 @@ elseif (APPLE) ${libgpgme} ${libgpg-error} ${libassuan} dl) else () + find_library(libgpgme NAMES libgpgme.a) + find_library(libgpg-error NAMES libgpg-error.a) + find_library(libassuan NAMES libassuan.a) message(STATUS "Link GPG Static Library For Unix") target_link_libraries(gpg_core ${THIRD_PARTY_LIBS} - libgpgme.a libgpg-error.a libassuan.a + ${libgpgme} ${libgpg-error} ${libassuan} ${BOOST_LIBS} pthread dl) endif () diff --git a/src/ui/MainWindow.cpp b/src/ui/MainWindow.cpp index 852d705b..e29278e9 100644 --- a/src/ui/MainWindow.cpp +++ b/src/ui/MainWindow.cpp @@ -140,9 +140,8 @@ void MainWindow::init() noexcept { connect(version_thread, SIGNAL(finished()), version_thread, SLOT(deleteLater())); - connect(version_thread, - &VersionCheckThread::upgradeVersion, this, - &MainWindow::slotVersionUpgrade)); + connect(version_thread, &VersionCheckThread::upgradeVersion, this, + &MainWindow::slotVersionUpgrade); version_thread->start(); diff --git a/src/ui/help/AboutDialog.cpp b/src/ui/help/AboutDialog.cpp index 836c165e..72100713 100644 --- a/src/ui/help/AboutDialog.cpp +++ b/src/ui/help/AboutDialog.cpp @@ -42,7 +42,7 @@ AboutDialog::AboutDialog(int defaultIndex, QWidget* parent) : QDialog(parent) { tabWidget->addTab(updateTab, _("Update")); connect(tabWidget, &QTabWidget::currentChanged, this, - [&](int index) { qDebug() << "Current Index" << index; }); + [&](int index) { LOG(INFO) << "Current Index" << index; }); if (defaultIndex < tabWidget->count() && defaultIndex >= 0) { tabWidget->setCurrentIndex(defaultIndex); |