diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-09-27 21:24:18 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-12-15 22:53:03 +0100 |
commit | 4a711fee423b00698313ac9c9a8df4f25696f8dd (patch) | |
tree | 3547d000faabd96d4c319ebabde5dc9f8a0941e3 /utils/regtools/qeditor/utils.h | |
parent | 99ed6d2bea6b8bc76b9775aea4735b68c19f175f (diff) | |
download | rockbox-4a711fee423b00698313ac9c9a8df4f25696f8dd.tar.gz rockbox-4a711fee423b00698313ac9c9a8df4f25696f8dd.zip |
qeditor: display message on "Nothing" backend selection
Change-Id: I071c79500f55afe0b6342cbb5a26a9fddba35d94
Reviewed-on: http://gerrit.rockbox.org/996
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'utils/regtools/qeditor/utils.h')
-rw-r--r-- | utils/regtools/qeditor/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/regtools/qeditor/utils.h b/utils/regtools/qeditor/utils.h index ec3175b5da..a2a95f1cac 100644 --- a/utils/regtools/qeditor/utils.h +++ b/utils/regtools/qeditor/utils.h | |||
@@ -304,11 +304,14 @@ public: | |||
304 | BackendSelector(Backend *backend, QWidget *parent = 0); | 304 | BackendSelector(Backend *backend, QWidget *parent = 0); |
305 | virtual ~BackendSelector(); | 305 | virtual ~BackendSelector(); |
306 | IoBackend *GetBackend(); | 306 | IoBackend *GetBackend(); |
307 | void SetNothingMessage(const QString& msg); | ||
307 | 308 | ||
308 | signals: | 309 | signals: |
309 | void OnSelect(IoBackend *backend); | 310 | void OnSelect(IoBackend *backend); |
310 | 311 | ||
311 | protected: | 312 | protected: |
313 | void ChangeBackend(IoBackend *new_backend); | ||
314 | |||
312 | enum | 315 | enum |
313 | { | 316 | { |
314 | DataSelNothing, | 317 | DataSelNothing, |
@@ -326,7 +329,7 @@ protected: | |||
326 | QComboBox *m_dev_selector; | 329 | QComboBox *m_dev_selector; |
327 | HWStubBackendHelper m_hwstub_helper; | 330 | HWStubBackendHelper m_hwstub_helper; |
328 | #endif | 331 | #endif |
329 | void ChangeBackend(IoBackend *new_backend); | 332 | QLabel *m_nothing_text; |
330 | 333 | ||
331 | private slots: | 334 | private slots: |
332 | #ifdef HAVE_HWSTUB | 335 | #ifdef HAVE_HWSTUB |