summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-26 16:24:51 +0200
committerGravatar GitHub <noreply@github.com>2017-10-26 16:24:51 +0200
commita08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d (patch)
tree463e846d897487bcaa628c7a8c03b601d4b263cd /profile-widget
parent2c67b387ea5571675db68c46b7879b4746571fd9 (diff)
parent405923ecfdca7993a3f6433eba4f0de0d03161f5 (diff)
downloadsubsurface-a08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d.tar.gz
Merge pull request #726 from Subsurface-divelog/rewriteErrorHandling
Rewrite error handling
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.cpp3
-rw-r--r--profile-widget/profilewidget2.h1
2 files changed, 1 insertions, 3 deletions
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()
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 9c4a82f5c..3d6bb7e2c 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -90,7 +90,6 @@ public:
signals:
void fontPrintScaleChanged(double scale);
void enableToolbar(bool enable);
- void showError();
void enableShortcuts();
void disableShortcuts(bool paste);
void refreshDisplay(bool recreateDivelist);