fix: 拼写错误

This commit is contained in:
lizhiyuan 2022-08-29 21:06:17 +08:00
parent 1561d511d1
commit b1a6f79961
2 changed files with 4 additions and 4 deletions

View File

@ -21,12 +21,12 @@ void SpkAppInfoLoaderThread::run()
.onResponse([this](QString downloadTimesFeedback)
{
qDebug() << "请求应用下载量信息 " << downloadTimesFeedback;
this->downdloadTimes = downloadTimesFeedback.replace("\n","");
this->downloadTimes = downloadTimesFeedback.replace("\n","");
})
.onError([this](QString errorStr)
{
qDebug() << "请求下载量失败:" << errorStr;
this->downdloadTimes = "0";
this->downloadTimes = "0";
})
.block()
.timeout(3*1000)
@ -66,7 +66,7 @@ void SpkAppInfoLoaderThread::run()
QString details;
details = tr("PkgName: ") + json["Pkgname"].toString() + "\n";
details += tr("Version: ") + json["Version"].toString() + "\n";
details += tr("Download Times: ") + this->downdloadTimes + "\n";
details += tr("Download Times: ") + this->downloadTimes + "\n";
if(!json["Author"].toString().trimmed().isEmpty())
{
details += tr("Author: ") + json["Author"].toString() + "\n";

View File

@ -23,7 +23,7 @@ protected:
private:
QUrl targetUrl;
QString serverUrl;
QString downdloadTimes;
QString downloadTimes;
bool finishedDownload = false;
int downloaderRetval = 0;