修复 因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

View File

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

View File

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

View File

@@ -23,11 +23,26 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <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> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>40</width> <width>48</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>