From a6ada17d6b95384aa802fa045f597666ef573fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Devernay?= Date: Thu, 22 Feb 2018 12:15:25 +0100 Subject: [PATCH] AppManager: cache can be restored even if running in background (why not?) --- Engine/AppManagerPrivate.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Engine/AppManagerPrivate.cpp b/Engine/AppManagerPrivate.cpp index 0d49bcf74a..699755b136 100644 --- a/Engine/AppManagerPrivate.cpp +++ b/Engine/AppManagerPrivate.cpp @@ -387,10 +387,8 @@ restoreCache(AppManagerPrivate* p, void AppManagerPrivate::restoreCaches() { - if ( !appPTR->isBackground() ) { - restoreCache( this, _viewerCache.get() ); - restoreCache( this, _diskCache.get() ); - } + restoreCache( this, _viewerCache.get() ); + restoreCache( this, _diskCache.get() ); } // restoreCaches bool