From: Flavio Tordini Date: Mon, 3 Aug 2015 12:18:12 +0000 (+0200) Subject: Added cache location X-Git-Tag: 2.5~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b67e514d01f9f35911e5823246a5edcc434725c8;p=minitube Added cache location --- 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