From 000c9cc21c8991682169987ae8f348243ec5008b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 5 Nov 2015 10:51:12 -0800 Subject: Untangle Profile from MainWindow: turn off tts/ndl calculation I'm not sure we can ever run into this issue anymore since we stop calculating TTS / NDL past 2 hours, but I guess on a fairly slow CPU this still could take too long. But instead of calling into MainWindow let's just change the setting right here and add a signal to show the notification - that way we can use the appropriate way to make such notifications on the mobile app. Signed-off-by: Dirk Hohndel --- profile-widget/profilewidget2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'profile-widget/profilewidget2.h') diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 812787b2d..8ac34f625 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -89,6 +89,7 @@ public: signals: void fontPrintScaleChanged(double scale); void enableToolbar(bool enable); + void showError(); public slots: // Necessary to call from QAction's signals. -- cgit v1.2.3-70-g09d2