Merge pull request #7835 from heirecka/v4_0_x

Fix build with --disable-webui
This commit is contained in:
sledgehammer999 2017-11-23 01:50:21 +02:00 committed by GitHub
commit 7751c5b75c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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");