修改: src/downloadlist.cpp

This commit is contained in:
shenmo 2021-12-13 20:12:21 +08:00
parent 1ba01588f0
commit 6982a97d22
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

@ -51,10 +51,15 @@ downloadlist::downloadlist(QWidget *parent) :
{
menu_install->addAction(action_deepin);
}
QFile gdebi("/usr/bin/gdebi");
gdebi.open(QIODevice::ReadOnly);
if(gdebi.isOpen())
{
menu_install->addAction(action_gdebi);
}
}
downloadlist::~downloadlist()
{
delete ui;