]> git.sur5r.net Git - minitube/commitdiff
Fixed bug with channel thumbs location
authorFlavio <flavio.tordini@gmail.com>
Wed, 22 Oct 2014 12:11:45 +0000 (14:11 +0200)
committerFlavio <flavio.tordini@gmail.com>
Wed, 22 Oct 2014 12:11:45 +0000 (14:11 +0200)
src/ytuser.cpp

index 29f851dc39a6dc802124b1f95ef108a802c67bdb..f51bd18350e0b3f23c188e42ead4df4ddc28220c 100644 (file)
@@ -144,11 +144,11 @@ void YTUser::loadThumbnail() {
 const QString & YTUser::getThumbnailDir() {
     static const QString thumbDir =
         #if QT_VERSION >= 0x050000
-            QStandardPaths::writableLocation(QStandardPaths::DataLocation);
-#else
-            QDesktopServices::storageLocation(QDesktopServices::DataLocation);
-#endif
-    + "/channels/";
+            QStandardPaths::writableLocation(QStandardPaths::DataLocation)
+        #else
+            QDesktopServices::storageLocation(QDesktopServices::DataLocation)
+        #endif
+            + "/channels/";
     return thumbDir;
 }