void-packages/srcpkgs/qbittorrent/patches/fix-disable_webui.patch
Jürgen Buchmüller b8a7071cec qbittorrent: update to 4.0.1
Fix cross compiling.
2017-11-27 22:28:23 +01:00

13 lines
389 B
Diff

--- src/app/application.cpp 2017-11-22 00:27:07.000000000 +0100
+++ src/app/application.cpp 2017-11-22 14:14:11.317317738 +0100
@@ -105,7 +105,9 @@
, m_running(false)
, m_shutdownAct(ShutdownDialogAction::Exit)
, m_commandLineArgs(parseCommandLine(this->arguments()))
+#ifndef DISABLE_WEBUI
, m_webui(nullptr)
+#endif
{
qRegisterMetaType<Log::Msg>("Log::Msg");