From 93b406d1914a5512aec6ca737ba8326a21191227 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 1 Dec 2015 21:29:42 +0100 Subject: HAWD: Ensure the column order is maintained By turning the columns into an array instead of an object, we can print the values in the same order as in the definition file. Previosly the order was random, and even headers and values were somtimes mixed up. --- tests/hawd/datasetdefinition.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/hawd/datasetdefinition.h') diff --git a/tests/hawd/datasetdefinition.h b/tests/hawd/datasetdefinition.h index cf1a797..6c844ba 100644 --- a/tests/hawd/datasetdefinition.h +++ b/tests/hawd/datasetdefinition.h @@ -60,14 +60,14 @@ public: QString lastError() const; QString name() const; QString description() const; - QHash columns() const; + QList > columns() const; private: bool m_valid; QString m_name; QString m_description; QString m_lastError; - QHash m_columns; + QList > m_columns; }; } // namespace HAWD -- cgit v1.2.3