From: Flavio Date: Wed, 22 Oct 2014 12:11:45 +0000 (+0200) Subject: Fixed bug with channel thumbs location X-Git-Tag: 2.3~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae09d6c9e6c4aa4fcbf7205111e4f93cf039195d;p=minitube Fixed bug with channel thumbs location --- diff --git a/src/ytuser.cpp b/src/ytuser.cpp index 29f851d..f51bd18 100644 --- a/src/ytuser.cpp +++ b/src/ytuser.cpp @@ -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; }