1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Removed obsolete size guard

This commit is contained in:
Martin Tůma 2017-08-31 08:10:09 +02:00
parent 6ef7537dff
commit 35818ce16e

View File

@ -1024,7 +1024,6 @@ void GUI::plot(QPrinter *printer)
gh = (printer->width() > printer->height())
? 0.15 * r * (printer->height() - ih - 2*mh)
: 0.15 * (printer->height() - ih - 2*mh);
gh = qMax(gh, ratio * 150);
GraphTab *gt = static_cast<GraphTab*>(_graphTabWidget->currentWidget());
gt->plot(&p, QRectF(0, printer->height() - gh, printer->width(), gh),
ratio);