From abd011f7cf8d298b8bbbe30eedb329094d43c0b9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 23 Feb 2017 17:19:32 +0100 Subject: Download manager improvements Added shortcut for download dialog Dialog has proper title Settings replaces ~ with home location Showing download item details --- src/webengine/downloaditemform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/webengine/downloaditemform.h') diff --git a/src/webengine/downloaditemform.h b/src/webengine/downloaditemform.h index 841e8bf..0b987b9 100644 --- a/src/webengine/downloaditemform.h +++ b/src/webengine/downloaditemform.h @@ -36,6 +36,8 @@ public: explicit DownloadItemForm(QWebEngineDownloadItem *item, QWidget *parent = 0); ~DownloadItemForm(); + QWebEngineDownloadItem *item() const; + private slots: void updateState(QWebEngineDownloadItem::DownloadState state); void updateProgress(qint64 value, qint64 total); @@ -43,6 +45,7 @@ private slots: private: Ui::DownloadItemForm *ui; + QWebEngineDownloadItem *m_item; }; #endif // DOWNLOADITEMFORM_H -- cgit v1.2.1