aboutsummaryrefslogtreecommitdiff
path: root/src/lib/downloads/downloadswidget.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-27 17:06:33 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-27 17:06:33 +0100
commitbdc239d1f827308c0fc1e4c202ed0e3f5c71da0b (patch)
treee743885fcdfc92a85eb46b075cf65e6b7c0c8a8e /src/lib/downloads/downloadswidget.h
parentUrlRequestInterceptor fixes (diff)
downloadsmolbote-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.h7
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;