summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/encttscfggui.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-03-20 09:58:04 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-03-20 10:00:25 +0100
commitccdd9e6784c1aaee8ebb35f192dae647895c67bc (patch)
tree2ec8164d4b6f504adc3f2d441f4c20a0e77ad8e7 /utils/rbutilqt/encttscfggui.h
parentc21d10cb33e0d123d4b53acdc28e73002d240634 (diff)
downloadrockbox-ccdd9e6784c1aaee8ebb35f192dae647895c67bc.tar.gz
rockbox-ccdd9e6784c1aaee8ebb35f192dae647895c67bc.zip
rbutil: Fix TTS "waiting for engine" appearing randomly.
QProgressDialog shows / hides itself automatically based on the progress value set, so calling hide() directly doesn't prevent the dialog from showing itself. Change the logic to set a value instead. Fixes the progress dialog sometimes appearing in situations where it wasn't used at all. Change-Id: Ifef063f31b7f888bb74f180dea0679e81cc5c8fe
Diffstat (limited to 'utils/rbutilqt/encttscfggui.h')
-rw-r--r--utils/rbutilqt/encttscfggui.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/rbutilqt/encttscfggui.h b/utils/rbutilqt/encttscfggui.h
index bf9f08a384..109aebd399 100644
--- a/utils/rbutilqt/encttscfggui.h
+++ b/utils/rbutilqt/encttscfggui.h
@@ -40,10 +40,8 @@ private slots:
40 void accept(void); 40 void accept(void);
41 //! close window and dont save configuration 41 //! close window and dont save configuration
42 void reject(void); 42 void reject(void);
43 //! shows a busy dialog. counts calls. 43 //! show / hide the busy dialog, counts calls
44 void showBusy(); 44 void busyDialog(bool show);
45 //! hides the busy dialog, counts calls
46 void hideBusy();
47 45
48private: 46private:
49 //! creates all dynamic window content 47 //! creates all dynamic window content