diff options
author | hjk <hjk121@nokiamail.com> | 2014-04-15 18:13:03 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-04-29 09:18:00 +0200 |
commit | 3f0d02ad7f4f3b9873bd16b98cb0d57a904af1ea (patch) | |
tree | 22565d8a02f89130cfab7c53575185926138a1cb /src/plugins/debugger/debuggerdialogs.h | |
parent | 81274c0624c85a2ab0648b25706c672b54ada8b4 (diff) |
Debugger: Rework display type selection
The previous index based way was getting too brittle, use enums instead.
Also add a switch between exponential and flat display for floating
point types.
Task-number: QTCREATORBUG-12050
Change-Id: I86addbac5a80e8b79b176c6107b251b466503fe7
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.h')
-rw-r--r-- | src/plugins/debugger/debuggerdialogs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.h b/src/plugins/debugger/debuggerdialogs.h index cc1a9bffb8..3fe1cc1b51 100644 --- a/src/plugins/debugger/debuggerdialogs.h +++ b/src/plugins/debugger/debuggerdialogs.h @@ -159,7 +159,7 @@ private: QDialogButtonBox *m_box; }; -typedef QHash<QString, QStringList> TypeFormats; +typedef QHash<QString, QStringList> DumperTypeFormats; class StartRemoteEngineDialog : public QDialog { @@ -190,7 +190,7 @@ public: void addTypeFormats(const QString &type, const QStringList &formats, int currentFormat); - TypeFormats typeFormats() const; + DumperTypeFormats typeFormats() const; private: TypeFormatsDialogUi *m_ui; |