修复 因ObjectName更改导致无法自动连接的问题

This commit is contained in:
Maicss 2020-07-28 13:04:49 +08:00
parent 9b47e4dd70
commit 101a6bc370
3 changed files with 18 additions and 3 deletions

@ -93,7 +93,7 @@ void downloadlist::setSpeed(QString s)
speed=s;
}
void downloadlist::on_pushButton_clicked()
void downloadlist::on_pushButton_install_clicked()
{
if(!isInstall){
isInstall=true;

@ -34,7 +34,7 @@ public:
bool reinstall=false;
QString pkgName;
private slots:
void on_pushButton_clicked();
void on_pushButton_install_clicked();
void on_pushButton_2_clicked();

@ -23,11 +23,26 @@
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="maximumSize">
<size>
<width>40</width>
<width>48</width>
<height>16777215</height>
</size>
</property>