From 5821d87a85f7f490115fa132f50b6a91b03b5554 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Sun, 25 Oct 2020 13:31:21 +0100 Subject: [PATCH] Do not bundle icon themes on Unix/Linux systems. --- src/librssguard/librssguard.pro | 7 +++++-- src/librssguard/miscellaneous/iofactory.cpp | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/librssguard/librssguard.pro b/src/librssguard/librssguard.pro index bd5e50b39..811c7d458 100644 --- a/src/librssguard/librssguard.pro +++ b/src/librssguard/librssguard.pro @@ -26,8 +26,11 @@ DEFINES *= RSSGUARD_DLLSPEC=Q_DECL_EXPORT CONFIG += unversioned_libname unversioned_soname skip_target_version_ext RESOURCES += ../../resources/sql.qrc \ - ../../resources/rssguard.qrc \ - ../../resources/icons.qrc + ../../resources/rssguard.qrc + +!unix { + RESOURCES += ../../resources/icons.qrc +} HEADERS += core/feeddownloader.h \ core/feedsmodel.h \ diff --git a/src/librssguard/miscellaneous/iofactory.cpp b/src/librssguard/miscellaneous/iofactory.cpp index 1e386c37d..3f2ee42f9 100755 --- a/src/librssguard/miscellaneous/iofactory.cpp +++ b/src/librssguard/miscellaneous/iofactory.cpp @@ -80,10 +80,11 @@ bool IOFactory::startProcessDetached(const QString& program, const QStringList& #if defined(Q_OS_WIN) || defined(Q_CLANG_QDOC) process.setNativeArguments(native_arguments); +#else + Q_UNUSED(native_arguments) #endif process.setWorkingDirectory(working_directory); - return process.startDetached(nullptr); }