mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-14 12:20:32 +02:00
Removed unnecessary blank lines
This commit is contained in:
@@ -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){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user