Skip to content

Commit

Permalink
Code refactoring - remove not required headers and definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Puchkov committed Oct 16, 2020
1 parent 472d0dc commit 3e7b87c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/tools/storage/imgur/imguruploader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,14 @@
#include <QBuffer>
#include <QClipboard>
#include <QDesktopServices>
#include <QDrag>
#include <QHBoxLayout>
#include <QJsonDocument>
#include <QJsonObject>
#include <QLabel>
#include <QMimeData>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QPushButton>
#include <QShortcut>
#include <QTimer>
#include <QUrlQuery>
#include <QVBoxLayout>

Expand All @@ -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)
Expand Down
1 change: 0 additions & 1 deletion src/tools/storage/s3/imgs3uploader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <QNetworkRequest>
#include <QPushButton>
#include <QShortcut>
#include <QTimer>
#include <QUrlQuery>
#include <QVBoxLayout>

Expand Down
2 changes: 0 additions & 2 deletions src/widgets/capture/capturewidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@
class QPaintEvent;
class QResizeEvent;
class QMouseEvent;
class CaptureModification;
class QNetworkAccessManager;
class QNetworkReply;
class ColorPicker;
class Screenshot;
class NotifierBox;
class HoverEventFilter;

Expand Down

0 comments on commit 3e7b87c

Please sign in to comment.