From 9def55a2c2c32c47cc40aa7c9be5c855b20bd52c Mon Sep 17 00:00:00 2001 From: shenmo Date: Mon, 21 Jun 2021 16:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=09roll=20back=EF=BC=9A=20=20=20=20=20src/downl?= =?UTF-8?q?oadlist.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/downloadlist.cpp | 2 +- src/downloadlist.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp index df81fdb..1a1b46a 100644 --- a/src/downloadlist.cpp +++ b/src/downloadlist.cpp @@ -17,7 +17,7 @@ downloadlist::downloadlist(QWidget *parent) : action_dpkg(new QAction), action_deepin(new QAction), action_gdebi(new QAction), - output_w(new QDialog), + output_w(new DDialog), textbrowser(new QTextBrowser) { ui->setupUi(this); diff --git a/src/downloadlist.h b/src/downloadlist.h index 1fd81fd..e9a8b8a 100644 --- a/src/downloadlist.h +++ b/src/downloadlist.h @@ -6,8 +6,9 @@ #include #include -#include +#include +DWIDGET_USE_NAMESPACE namespace Ui { class downloadlist; @@ -51,7 +52,7 @@ private: QAction *action_deepin; QAction *action_gdebi; - QDialog *output_w; + DDialog *output_w; QTextBrowser *textbrowser; private slots: