Removed unnecessary blank lines

This commit is contained in:
2019-12-05 22:10:42 +01:00
parent 9c293d63e1
commit 40fe8efcb6

View File

@@ -30,11 +30,7 @@ PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
activeLayer=1; activeLayer=1;
} }
void PaintingArea::setUp(int maxWidth, int maxHeight){ void PaintingArea::setUp(int maxWidth, int maxHeight){
//set standart parameter //set standart parameter
this->maxWidth = maxWidth; this->maxWidth = maxWidth;
this->maxHeight = maxHeight; this->maxHeight = maxHeight;
@@ -218,7 +214,6 @@ void PaintingArea::mousePressEvent(QMouseEvent *event)
// from the last position to the current // from the last position to the current
void PaintingArea::mouseMoveEvent(QMouseEvent *event) void PaintingArea::mouseMoveEvent(QMouseEvent *event)
{ {
if ((event->buttons() & Qt::LeftButton) && scribbling){ if ((event->buttons() & Qt::LeftButton) && scribbling){
if(this->activeLayer==-1){ if(this->activeLayer==-1){
return; return;
@@ -329,4 +324,3 @@ void PaintingArea::assembleLayers(bool forSaving){
} }
} }
} }