Initially done with PR
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user