aboutsummaryrefslogtreecommitdiff
path: root/lib/downloads
diff options
context:
space:
mode:
Diffstat (limited to 'lib/downloads')
-rw-r--r--lib/downloads/widgets/downloaditemwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/downloads/widgets/downloaditemwidget.cpp b/lib/downloads/widgets/downloaditemwidget.cpp
index e0c8a60..cb95965 100644
--- a/lib/downloads/widgets/downloaditemwidget.cpp
+++ b/lib/downloads/widgets/downloaditemwidget.cpp
@@ -34,8 +34,8 @@ DownloadItemWidget::DownloadItemWidget(QWebEngineDownloadItem *m_item, QWidget *
: QWidget(parent)
, ui(new Ui::DownloadItemForm)
{
- Q_CHECK_PTR(item);
- m_item = item;
+ Q_CHECK_PTR(m_item);
+ item = m_item;
ui->setupUi(this);
{
// pause/resume icons