mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06: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:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user