Uploader::Uploader(QObject *parent) : QObject(parent), _multipartData(nullptr) { qsrand(126); _strBoundary = "uploadbound" + QByteArray::number(qrand()); _net = new QNetworkAccessManager(this); _serverReply = nullptr; initUploadedStrList(); UploaderConfig config; if (config.checkExistsConfigFile() == false) { config.defaultSettings(); } }
void ModuleUploader::defaultSettings() { UploaderConfig config; config.defaultSettings(); }