Add support for disabling log from settings
This commit is contained in:
parent
ae311eb3ef
commit
371b61f3ea
8 changed files with 37 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "debugger/graphics.hxx"
|
||||
#include "debugger/graphics_cmdlists.hxx"
|
||||
|
||||
#include "core/settings.h"
|
||||
#include "core/system.h"
|
||||
#include "core/core.h"
|
||||
#include "core/loader/loader.h"
|
||||
|
@ -34,8 +35,12 @@
|
|||
GMainWindow::GMainWindow()
|
||||
{
|
||||
LogManager::Init();
|
||||
|
||||
Config config;
|
||||
|
||||
if (!Settings::values.enable_log)
|
||||
LogManager::Shutdown();
|
||||
|
||||
ui.setupUi(this);
|
||||
statusBar()->hide();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue