Allow to set "working set limit" on non-Windows OS

PR #16874.
This commit is contained in:
Chocobo1 2022-04-16 11:36:58 +08:00 committed by GitHub
parent 7377974731
commit bc937d38a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 41 deletions

View file

@ -30,8 +30,6 @@
#pragma once
#include <QtGlobal>
class QString;
class Path;
@ -58,8 +56,6 @@ public:
virtual int fileLoggerAgeType() const = 0;
virtual void setFileLoggerAgeType(int value) = 0;
#ifdef Q_OS_WIN
virtual int memoryWorkingSetLimit() const = 0;
virtual void setMemoryWorkingSetLimit(int size) = 0;
#endif
};