summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@theqtcompany.com>2015-12-15 11:51:47 +0100
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-12-16 10:21:02 +0000
commit6f021028eedad2a5b1ce71b09a42b34df8aad81b (patch)
tree6a25d4a3fa77e013b10c6d95c9cf93c09ca15b66 /tests
parent43fff6e7b01412a38f38862ccb4d0644754dcc78 (diff)
Rename activeStates() into activeStateNames(), make it const
Change-Id: I5f71f24e9c989cad7399221c0e1a59328aadad77 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/scion/tst_scion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/scion/tst_scion.cpp b/tests/auto/scion/tst_scion.cpp
index 93fcd8b..29fb441 100644
--- a/tests/auto/scion/tst_scion.cpp
+++ b/tests/auto/scion/tst_scion.cpp
@@ -282,7 +282,7 @@ void TestScion::compiled()
static bool verifyStates(QScxmlStateMachine *stateMachine, const QJsonObject &stateDescription, const QString &key, int counter)
{
- auto current = stateMachine->activeStates();
+ auto current = stateMachine->activeStateNames();
std::sort(current.begin(), current.end());
auto expected = getStates(stateDescription, key);
if (current == expected)