Remove useless #includes
This commit is contained in:
parent
3044bb6690
commit
e71ecfec34
@ -3,7 +3,6 @@
|
||||
#include "cropscene.hpp"
|
||||
#include "cropview.hpp"
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QGraphicsPixmapItem>
|
||||
#include <QGraphicsView>
|
||||
#include <QScreen>
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "cropscene.hpp"
|
||||
#include <QColorDialog>
|
||||
#include <QDebug>
|
||||
#include <QFontDialog>
|
||||
#include <QGraphicsPolygonItem>
|
||||
#include <QGraphicsSceneContextMenuEvent>
|
||||
@ -108,7 +107,8 @@ void CropScene::mouseMoveEvent(QGraphicsSceneMouseEvent *e) {
|
||||
initPos = p;
|
||||
rect->setRect(p.x(), p.y(), 1, 1);
|
||||
} else {
|
||||
rect->setRect(QRect(qMin(initPos.x(), p.x()), qMin(initPos.y(), p.y()), qAbs(initPos.x() - p.x()), qAbs(initPos.y() - p.y())));
|
||||
rect->setRect(QRect(qMin(initPos.x(), p.x()), qMin(initPos.y(), p.y()), qAbs(initPos.x() - p.x()),
|
||||
qAbs(initPos.y() - p.y())));
|
||||
}
|
||||
}
|
||||
QPolygonF poly;
|
||||
@ -134,7 +134,6 @@ void CropScene::mouseMoveEvent(QGraphicsSceneMouseEvent *e) {
|
||||
}
|
||||
|
||||
void CropScene::mouseReleaseEvent(QGraphicsSceneMouseEvent *e) {
|
||||
qDebug() << "release";
|
||||
if (drawingSelection) {
|
||||
drawingSelection->mouseDragEndEvent(e, this);
|
||||
delete drawingSelection;
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "bluritem.hpp"
|
||||
|
||||
#include <QDebug>
|
||||
#include <cropeditor/settings/blurdialog.hpp>
|
||||
|
||||
bool BlurItem::init(CropScene *) {
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "hotkeying.hpp"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QHotkey>
|
||||
#include <QMap>
|
||||
#include <settings.hpp>
|
||||
|
1
main.cpp
1
main.cpp
@ -2,7 +2,6 @@
|
||||
#include "screenshotutil.hpp"
|
||||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QDebug>
|
||||
#include <QtGlobal>
|
||||
#include <formatter.hpp>
|
||||
#include <iostream>
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include <QApplication>
|
||||
#include <QBuffer>
|
||||
#include <QClipboard>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QJsonDocument>
|
||||
#include <QNetworkReply>
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
#include <QDebug>
|
||||
#include <QMimeData>
|
||||
#include <formats.hpp>
|
||||
#include <notifications.hpp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user