From e64dcd12bd0308d389c0dec6cf2d957e38b3d0f1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 26 Oct 2017 15:55:49 +0200 Subject: desktop UI: no longer attempt to manually show error notifications report_error() now does this automatically. So all these odd places in which we tried to make sure that we show errors are no longer needed. Signed-off-by: Dirk Hohndel --- profile-widget/profilewidget2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'profile-widget/profilewidget2.cpp') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index a7ac87d77..cfe705f6f 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -709,7 +709,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) #ifdef SUBSURFACE_MOBILE if (currentdc->divemode == CCR) { - gasYAxis->setPos(itemPos.partialPressure.pos.on); + gasYAxis->setPos(itemPos.partialPressure.pos.on); gasYAxis->setLine(itemPos.partialPressure.expanded); tankItem->setVisible(false); @@ -802,7 +802,6 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) report_error(qPrintable(tr("Show NDL / TTS was disabled because of excessive processing time"))); } #endif - emit showError(); } void ProfileWidget2::recalcCeiling() -- cgit v1.2.3-70-g09d2