Browse Source

Don't define variable when not building GUI

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
17e4902519
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/app/application.cpp

2
src/app/application.cpp

@ -121,7 +121,9 @@ namespace @@ -121,7 +121,9 @@ namespace
const int MAX_FILELOG_SIZE = 1000 * 1024 * 1024; // 1000MiB
const int DEFAULT_FILELOG_SIZE = 65 * 1024; // 65KiB
#if !defined(DISABLE_GUI)
const int PIXMAP_CACHE_SIZE = 64 * 1024 * 1024; // 64MiB
#endif
}
Application::Application(const QString &id, int &argc, char **argv)

Loading…
Cancel
Save