diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-11-27 10:44:50 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-12-01 14:09:16 +0000 |
commit | b9659744acecb25887570049d7ce2bc41b974b93 (patch) | |
tree | f831f23051e4c268a3d48a7283b5896cd3bdbef9 /examples | |
parent | 113a463ff295f62218f97d489c36a369e1a6e7da (diff) |
Even more documentation.
Change-Id: Iac3a36a61b883ef9fa80a9b37fdc53a73f2b0e27
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp b/examples/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp index 21e7d74..c746df9 100644 --- a/examples/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp +++ b/examples/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp @@ -49,9 +49,9 @@ int main(int argc, char **argv) QApplication app(argc, argv); QScxmlStateMachine *machine = QScxmlStateMachine::fromFile(QStringLiteral(":statemachine.scxml")); - if (!machine->errors().isEmpty()) { + if (!machine->parseErrors().isEmpty()) { QTextStream errs(stderr, QIODevice::WriteOnly); - foreach (const QScxmlError &error, machine->errors()) { + foreach (const QScxmlError &error, machine->parseErrors()) { errs << error.toString(); } |