Remove "Physical memory (RAM) usage limit" option on macOS #19805

This has no effect on macOS.
https://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working

Closes #18656.
PR  #19805.
This commit is contained in:
Chocobo1
2023-10-29 17:41:38 +08:00
committed by Vladimir Golovnev (Glassez)
parent a396e0df26
commit bb6d69f8b7
4 changed files with 13 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ private:
void runExternalProgram(const QString &programTemplate, const BitTorrent::Torrent *torrent) const;
void sendNotificationEmail(const BitTorrent::Torrent *torrent);
#ifdef QBT_USES_LIBTORRENT2
#if defined(QBT_USES_LIBTORRENT2) && !defined(Q_OS_MACOS)
void applyMemoryWorkingSetLimit() const;
#endif