mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
Don't define variable when not building GUI
This commit is contained in:
parent
0d5b0b9542
commit
17e4902519
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue