Initially done with PR

This commit is contained in:
apa420
2018-08-26 13:49:15 +02:00
parent 8ea3b6c8ee
commit 15bcb5a2fb
4 changed files with 3 additions and 20 deletions
-1
View File
@@ -20,7 +20,6 @@ void DownloadManager::setFile(QString fileURL, const QString &channelName)
QString filePath = fileURL;
QString saveFilePath;
QStringList filePathList = filePath.split('/');
// QString fileName = filePathList.at(filePathList.count() - 1);
saveFilePath = QString(
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) +
"2/cache/profileAvatars/twitch/" + channelName + ".png");
+1 -1
View File
@@ -15,7 +15,7 @@ class DownloadManager : public QObject
{
Q_OBJECT
public:
explicit DownloadManager(QObject *parent = 0);
explicit DownloadManager(QObject *parent = nullptr);
virtual ~DownloadManager();
void setFile(QString fileURL, const QString &channelName);