diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-10-26 14:15:14 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-10-29 12:46:33 (GMT) |
commit | a53df3596e2061c202845f9f1c183177ca8a7eda (patch) | |
tree | 3fa4d53240388348a1fdfae16791fee8aa222e16 /demos/spectrum/app/mainwidget.h | |
parent | dd5ec222ce0285bd9419c9a47a8329bda41b5dd8 (diff) | |
download | Qt-a53df3596e2061c202845f9f1c183177ca8a7eda.zip Qt-a53df3596e2061c202845f9f1c183177ca8a7eda.tar.gz Qt-a53df3596e2061c202845f9f1c183177ca8a7eda.tar.bz2 |
Do not unnecessarily reset state of spectrum demo
This patch ensures that the state of the application is not reset when:
- Any of the 'Play generated tone', 'Play file' or settings
dialogs are opened
- Any of the 'Play generated tone', 'Play file' or settings
dialogs are dismissed by pressing the Cancel button
- A new input or output device is selected via the settings
dialog, and that new device supports the data format which
is currently being used within the application
- The window function is changed via the settings dialog
Note that the application is still reset if a new input or output
device is selected via the settings dialog, and this device does not
support the current data format.
Task-number: QTBUG-12935
Task-number: QTBUG-14810
Diffstat (limited to 'demos/spectrum/app/mainwidget.h')
-rw-r--r-- | demos/spectrum/app/mainwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/spectrum/app/mainwidget.h b/demos/spectrum/app/mainwidget.h index ddab8b7..cc1f9ed 100644 --- a/demos/spectrum/app/mainwidget.h +++ b/demos/spectrum/app/mainwidget.h @@ -89,6 +89,7 @@ private slots: void showToneGeneratorDialog(); void initializeRecord(); void dataDurationChanged(qint64 duration); + void updateModeMenu(); private: void createUi(); |