From bdc239d1f827308c0fc1e4c202ed0e3f5c71da0b Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 27 Dec 2017 17:06:33 +0100 Subject: Download manager fixes DownloadsWidget - Download widget now in landscape - Download widget no longer docks in the main window, but is a dialog DownloadItemWidget - Download item widget looks more compact - Download details are now a part of the item widgets instead - Download details: save path --- src/lib/downloads/downloadswidget.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/downloads/downloadswidget.h') diff --git a/src/lib/downloads/downloadswidget.h b/src/lib/downloads/downloadswidget.h index ffd0814..30bfa38 100644 --- a/src/lib/downloads/downloadswidget.h +++ b/src/lib/downloads/downloadswidget.h @@ -9,14 +9,14 @@ #ifndef DOWNLOADDIALOG_H #define DOWNLOADDIALOG_H -#include +#include namespace Ui { class DownloadDialog; } class QWebEngineDownloadItem; -class DownloadsWidget : public QWidget +class DownloadsWidget : public QDialog { Q_OBJECT @@ -27,9 +27,6 @@ public: public slots: void addDownload(QWebEngineDownloadItem *item); -private slots: - void showItemDetails(int index); - private: Ui::DownloadDialog *ui; QString m_downloadPath; -- cgit v1.2.1