mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 10:25:36 +00:00
update the free memory check timer on win32 as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=747259
This commit is contained in:
parent
82ac390fd0
commit
fb2a432097
|
@ -269,6 +269,8 @@ qulonglong DocumentPrivate::getFreeMemory()
|
|||
|
||||
GlobalMemoryStatusEx (&stat);
|
||||
|
||||
lastUpdate = QTime::currentTime();
|
||||
|
||||
return ( cachedValue = stat.ullAvailPhys );
|
||||
#else
|
||||
// tell the memory is full.. will act as in LOW profile
|
||||
|
|
Loading…
Reference in a new issue