diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-27 17:06:33 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-27 17:06:33 +0100 |
commit | bdc239d1f827308c0fc1e4c202ed0e3f5c71da0b (patch) | |
tree | e743885fcdfc92a85eb46b075cf65e6b7c0c8a8e /src/lib/downloads/downloadswidget.h | |
parent | UrlRequestInterceptor fixes (diff) | |
download | smolbote-bdc239d1f827308c0fc1e4c202ed0e3f5c71da0b.tar.xz |
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
Diffstat (limited to 'src/lib/downloads/downloadswidget.h')
-rw-r--r-- | src/lib/downloads/downloadswidget.h | 7 |
1 files changed, 2 insertions, 5 deletions
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 <QWidget> +#include <QDialog> 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; |