From fb2a43209775f65f5c4955d79705cbeb38212c84 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 11 Dec 2007 13:52:55 +0000 Subject: [PATCH] update the free memory check timer on win32 as well svn path=/trunk/KDE/kdegraphics/okular/; revision=747259 --- core/document.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/document.cpp b/core/document.cpp index 4a8776c15..265d5eb10 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -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