From b67e514d01f9f35911e5823246a5edcc434725c8 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Mon, 3 Aug 2015 14:18:12 +0200 Subject: [PATCH] Added cache location --- src/compatibility/pathsservice.cpp | 4 ++++ src/compatibility/pathsservice.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/compatibility/pathsservice.cpp b/src/compatibility/pathsservice.cpp index 922c2ab..9b817a5 100644 --- a/src/compatibility/pathsservice.cpp +++ b/src/compatibility/pathsservice.cpp @@ -60,4 +60,8 @@ QString getPicturesLocation() { QString getTempLocation() { return PathProvider::getLocation(PathProvider::TempLocation); } + +QString getCacheLocation() { + return PathProvider::getLocation(PathProvider::CacheLocation); +} } diff --git a/src/compatibility/pathsservice.h b/src/compatibility/pathsservice.h index 4e9a2fe..a35bfe9 100644 --- a/src/compatibility/pathsservice.h +++ b/src/compatibility/pathsservice.h @@ -30,6 +30,7 @@ QString getHomeLocation(); QString getDataLocation(); QString getPicturesLocation(); QString getTempLocation(); +QString getCacheLocation(); } #endif // PATHSSERVICE_H -- 2.39.5