diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
commit | 89c6c06b8c42107dd231687a1012354e7d3039fc (patch) | |
tree | dad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /net-p2p/qbittorrent/files | |
parent | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff) |
gentoo resync : 26.11.2017
Diffstat (limited to 'net-p2p/qbittorrent/files')
-rw-r--r-- | net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch b/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch new file mode 100644 index 000000000000..2a7f5dbb47c5 --- /dev/null +++ b/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch @@ -0,0 +1,25 @@ +From af898e9117b475230e793fa4fd75274145ecf25d Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Wed, 22 Nov 2017 21:29:20 +0100 +Subject: [PATCH] Fix build with --disable-webui + +"app/application.cpp:108:7: error: class 'Application' does not have +any field named 'm_webui'" +--- + src/app/application.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/app/application.cpp b/src/app/application.cpp +index 3b0d4d78de..b3221efa88 100644 +--- a/src/app/application.cpp ++++ b/src/app/application.cpp +@@ -105,7 +105,9 @@ Application::Application(const QString &id, int &argc, char **argv) + , m_running(false) + , m_shutdownAct(ShutdownDialogAction::Exit) + , m_commandLineArgs(parseCommandLine(this->arguments())) ++#ifndef DISABLE_WEBUI + , m_webui(nullptr) ++#endif + { + qRegisterMetaType<Log::Msg>("Log::Msg"); + |