diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-10-02 14:30:05 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-10-02 14:30:05 +0000 |
commit | 2e3de70401379c044fdd3696e7cc6dc78aace808 (patch) | |
tree | 1e208b0dc8be1d0377f0c47533d3e839448473f6 /rbutil/rbutilqt/installtalkwindow.h | |
parent | d25341a032a19985af85c72b95964bef812971c3 (diff) | |
download | rockbox-2e3de70401379c044fdd3696e7cc6dc78aace808.tar.gz rockbox-2e3de70401379c044fdd3696e7cc6dc78aace808.zip |
Rockbox Utility: listen to translation change events.
When changing the language don't require a restart anymore. Instead listen to
the appropriate changeEvent and retranslate the UI. Designer generated UI files
already provide such a function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30633 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.h')
-rw-r--r-- | rbutil/rbutilqt/installtalkwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.h b/rbutil/rbutilqt/installtalkwindow.h index e723f29af8..030f2553ed 100644 --- a/rbutil/rbutilqt/installtalkwindow.h +++ b/rbutil/rbutilqt/installtalkwindow.h | |||
@@ -33,7 +33,7 @@ class InstallTalkWindow : public QDialog | |||
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | public: | 34 | public: |
35 | InstallTalkWindow(QWidget *parent = 0); | 35 | InstallTalkWindow(QWidget *parent = 0); |
36 | 36 | ||
37 | public slots: | 37 | public slots: |
38 | void accept(void); | 38 | void accept(void); |
39 | void change(void); | 39 | void change(void); |
@@ -46,6 +46,7 @@ class InstallTalkWindow : public QDialog | |||
46 | void settingsUpdated(void); | 46 | void settingsUpdated(void); |
47 | 47 | ||
48 | private: | 48 | private: |
49 | void changeEvent(QEvent *event); | ||
49 | TalkFileCreator* talkcreator; | 50 | TalkFileCreator* talkcreator; |
50 | Ui::InstallTalkFrm ui; | 51 | Ui::InstallTalkFrm ui; |
51 | ProgressLoggerGui* logger; | 52 | ProgressLoggerGui* logger; |