From 35818ce16ea91b9e175835a189c77de91cf8ef7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 31 Aug 2017 08:10:09 +0200 Subject: [PATCH] Removed obsolete size guard --- src/gui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui.cpp b/src/gui.cpp index 8ca1b8ad..9ab5e90e 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -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(_graphTabWidget->currentWidget()); gt->plot(&p, QRectF(0, printer->height() - gh, printer->width(), gh), ratio);