]> git.sur5r.net Git - minitube/commitdiff
Added cache location
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 3 Aug 2015 12:18:12 +0000 (14:18 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 3 Aug 2015 12:18:12 +0000 (14:18 +0200)
src/compatibility/pathsservice.cpp
src/compatibility/pathsservice.h

index 922c2ab984acca7cbd1c2735979eeb95128fb75e..9b817a58baba74ea196b8978b7e09e44a9d5e63c 100644 (file)
@@ -60,4 +60,8 @@ QString getPicturesLocation() {
 QString getTempLocation() {
     return PathProvider::getLocation(PathProvider::TempLocation);
 }
+
+QString getCacheLocation() {
+    return PathProvider::getLocation(PathProvider::CacheLocation);
+}
 }
index 4e9a2fe37a9adf74f2ae976150f82df81135ef53..a35bfe9414f2f886cf677052d0a326d523304ecb 100644 (file)
@@ -30,6 +30,7 @@ QString getHomeLocation();
 QString getDataLocation();
 QString getPicturesLocation();
 QString getTempLocation();
+QString getCacheLocation();
 }
 
 #endif  // PATHSSERVICE_H