From 3e7b87ccfee1719e80e31332c0ac097497087a5b Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Fri, 16 Oct 2020 15:08:08 +0300 Subject: [PATCH] Code refactoring - remove not required headers and definitions --- src/tools/storage/imgur/imguruploader.cpp | 5 ----- src/tools/storage/s3/imgs3uploader.cpp | 1 - src/widgets/capture/capturewidget.h | 2 -- 3 files changed, 8 deletions(-) diff --git a/src/tools/storage/imgur/imguruploader.cpp b/src/tools/storage/imgur/imguruploader.cpp index 710d504910..565f6372b7 100644 --- a/src/tools/storage/imgur/imguruploader.cpp +++ b/src/tools/storage/imgur/imguruploader.cpp @@ -28,8 +28,6 @@ #include #include #include -#include -#include #include #include #include @@ -37,9 +35,7 @@ #include #include #include -#include #include -#include #include #include @@ -53,7 +49,6 @@ ImgurUploader::ImgurUploader(const QPixmap& capture, QWidget* parent) &QNetworkAccessManager::finished, this, &ImgurUploader::handleReply); - // QTimer::singleShot(2000, this, &ImgurUploader::onUploadOk); // testing } void ImgurUploader::handleReply(QNetworkReply* reply) diff --git a/src/tools/storage/s3/imgs3uploader.cpp b/src/tools/storage/s3/imgs3uploader.cpp index d7ff78e22e..7a7c846f29 100644 --- a/src/tools/storage/s3/imgs3uploader.cpp +++ b/src/tools/storage/s3/imgs3uploader.cpp @@ -41,7 +41,6 @@ #include #include #include -#include #include #include diff --git a/src/widgets/capture/capturewidget.h b/src/widgets/capture/capturewidget.h index fe3ffdbf2a..6797fed690 100644 --- a/src/widgets/capture/capturewidget.h +++ b/src/widgets/capture/capturewidget.h @@ -39,11 +39,9 @@ class QPaintEvent; class QResizeEvent; class QMouseEvent; -class CaptureModification; class QNetworkAccessManager; class QNetworkReply; class ColorPicker; -class Screenshot; class NotifierBox; class HoverEventFilter;