Enable access to shutdown functions when configured with --disable-gui option

This commit is contained in:
Chocobo1 2016-04-16 13:50:41 +08:00
parent a1e0fa5509
commit fbc002f212
4 changed files with 8 additions and 9 deletions

View file

@ -111,10 +111,10 @@ private slots:
private:
bool m_running;
ShutdownDialogAction m_shutdownAct;
#ifndef DISABLE_GUI
QPointer<MainWindow> m_window;
ShutdownDialogAction m_shutdownAct;
#endif
#ifndef DISABLE_WEBUI