aboutsummaryrefslogtreecommitdiff
path: root/lib/downloads
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-04 13:16:13 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-04 13:16:13 +0100
commitfad0abffec1ba784256daa68c7d52891c2d08825 (patch)
treed7d255805500e1f2598ef6aea7b21ca116a1b1df /lib/downloads
parentFixed crash with Settings dialog (diff)
downloadsmolbote-fad0abffec1ba784256daa68c7d52891c2d08825.tar.xz
Various minor fixes
- typo fixes - bumped copyright year - removed a bunch of unused imports - fixed a couple of clazy warnings
Diffstat (limited to 'lib/downloads')
-rw-r--r--lib/downloads/downloadswidget.cpp2
-rw-r--r--lib/downloads/widgets/downloaditemwidget.cpp1
-rw-r--r--lib/downloads/widgets/elidedlabel.cpp1
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/downloads/downloadswidget.cpp b/lib/downloads/downloadswidget.cpp
index f9a8f34..1a5f268 100644
--- a/lib/downloads/downloadswidget.cpp
+++ b/lib/downloads/downloadswidget.cpp
@@ -10,10 +10,8 @@
#include "ui_downloadsform.h"
#include <QWebEngineDownloadItem>
-#include <QUrl>
#include <QFileDialog>
#include <QListWidget>
-#include <QLabel>
#include "widgets/downloaditemwidget.h"
DownloadsWidget::DownloadsWidget(const QString &downloadPath, QWidget *parent) :
diff --git a/lib/downloads/widgets/downloaditemwidget.cpp b/lib/downloads/widgets/downloaditemwidget.cpp
index fff3cfc..a51275e 100644
--- a/lib/downloads/widgets/downloaditemwidget.cpp
+++ b/lib/downloads/widgets/downloaditemwidget.cpp
@@ -10,7 +10,6 @@
#include "ui_downloaditemform.h"
#include <QUrl>
-#include <QLabel>
DownloadItemWidget::DownloadItemWidget(QWebEngineDownloadItem *item, QWidget *parent) :
QWidget(parent),
diff --git a/lib/downloads/widgets/elidedlabel.cpp b/lib/downloads/widgets/elidedlabel.cpp
index dc17d32..2878565 100644
--- a/lib/downloads/widgets/elidedlabel.cpp
+++ b/lib/downloads/widgets/elidedlabel.cpp
@@ -59,7 +59,6 @@
#include <QPainter>
#include <QTextLayout>
-#include <QDebug>
ElidedLabel::ElidedLabel(QWidget *parent)
: QLabel(parent)