1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-05 19:34:17 +00:00

Fix build with --disable-webui

"app/application.cpp:108:7: error: class 'Application' does not have
any field named 'm_webui'"
This commit is contained in:
Heiko Becker 2017-11-22 21:29:20 +01:00 committed by sledgehammer999
parent c58d0af88f
commit af898e9117
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

@ -105,7 +105,9 @@ Application::Application(const QString &id, int &argc, char **argv)
, m_running(false) , m_running(false)
, m_shutdownAct(ShutdownDialogAction::Exit) , m_shutdownAct(ShutdownDialogAction::Exit)
, m_commandLineArgs(parseCommandLine(this->arguments())) , m_commandLineArgs(parseCommandLine(this->arguments()))
#ifndef DISABLE_WEBUI
, m_webui(nullptr) , m_webui(nullptr)
#endif
{ {
qRegisterMetaType<Log::Msg>("Log::Msg"); qRegisterMetaType<Log::Msg>("Log::Msg");