aboutsummaryrefslogtreecommitdiff
path: root/lib/downloads
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-09-22 21:32:18 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-09-22 21:32:18 +0300
commit1bc4963fb1f10a87d5df384701e3c59a1f8ada9d (patch)
treee9bf0e54385b43f4c18e2244fb811d9b04535f87 /lib/downloads
parentFix compiler warnings in Configuration (diff)
downloadsmolbote-1bc4963fb1f10a87d5df384701e3c59a1f8ada9d.tar.xz
Update Readme
Fix crash when downloading
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