mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Do not update the last update time on failure
Because the code *should* work so it failing is exceptional and we don't want to cache the value
This commit is contained in:
parent
fb5a178311
commit
0e01e11717
|
@ -326,6 +326,10 @@ qulonglong DocumentPrivate::getFreeMemory()
|
|||
else
|
||||
memoryFree -= values[4];
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
lastUpdate = QTime::currentTime();
|
||||
|
||||
|
|
Loading…
Reference in a new issue