mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
优化了app.json解析
This commit is contained in:
@@ -27,7 +27,7 @@ downloadlist::~downloadlist()
|
||||
void downloadlist::setValue(long long value)
|
||||
{
|
||||
ui->progressBar->setValue(value);
|
||||
ui->label_2->setText(QString::number((double)value/100)+"%");
|
||||
ui->label_2->setText(QString::number((double)value/100)+"% ("+speed+")");
|
||||
if(ui->label_2->text()=="100%"){
|
||||
ui->label_2->setText("已完成,等待安装");
|
||||
}
|
||||
@@ -85,6 +85,11 @@ void downloadlist::closeDownload()
|
||||
on_pushButton_2_clicked();
|
||||
}
|
||||
|
||||
void downloadlist::setSpeed(QString s)
|
||||
{
|
||||
speed=s;
|
||||
}
|
||||
|
||||
void downloadlist::on_pushButton_clicked()
|
||||
{
|
||||
if(!isInstall){
|
||||
|
||||
Reference in New Issue
Block a user