From 478baf107623c3aa0c31c3256cfc3bc794b089b1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 21 May 2013 23:13:45 -0700 Subject: Replace GError handling with a kMessageWidget based approach Instead of passing pointers to GError around we pass just pointers to error message texts around and use kMessageWidget to show those. Problem is that right now the close button on that doesn't do a thing - so the error stays around indefinitely. Oops. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.h') diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 121b5c74d..a5b1a9b48 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -39,6 +39,7 @@ public: MainTab *information(); DiveListView *dive_list(); GlobeGPS *globe(); + void showError(QString message); private Q_SLOTS: -- cgit v1.2.3-70-g09d2