diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-04 13:16:13 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-04 13:16:13 +0100 |
commit | fad0abffec1ba784256daa68c7d52891c2d08825 (patch) | |
tree | d7d255805500e1f2598ef6aea7b21ca116a1b1df /lib/downloads | |
parent | Fixed crash with Settings dialog (diff) | |
download | smolbote-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.cpp | 2 | ||||
-rw-r--r-- | lib/downloads/widgets/downloaditemwidget.cpp | 1 | ||||
-rw-r--r-- | lib/downloads/widgets/elidedlabel.cpp | 1 |
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) |