mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
752d9b60c4
commit
e64dcd12bd
6 changed files with 8 additions and 40 deletions
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue