aboutsummaryrefslogtreecommitdiff
path: root/src/lib/downloads/downloadswidget.h
diff options
context:
space:
mode:
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;