Don't define variable when not building GUI

This commit is contained in:
Chocobo1 2019-09-05 20:40:47 +08:00
parent 0d5b0b9542
commit 17e4902519
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -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)