[TechDraw] Simplify return logic
Easy warmup
This commit is contained in:
committed by
WandererFan
parent
17b457a783
commit
6df0a20214
@@ -221,8 +221,7 @@ short DrawView::mustExecute() const
|
||||
////you must override this in derived class
|
||||
QRectF DrawView::getRect() const
|
||||
{
|
||||
QRectF result(0, 0,1, 1);
|
||||
return result;
|
||||
return QRectF(0, 0,1, 1);
|
||||
}
|
||||
|
||||
//get the rectangle centered on the position
|
||||
|
||||
Reference in New Issue
Block a user