summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-06-11 15:08:21 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-06-11 15:08:21 (GMT)
commita982f7f4fa9b406c2736adf47752587691828ab4 (patch)
treec0ad222bfa068cb48e96b509e00528e5a29c960d
parent41df2299dad9041b690f28251ba6381563cd3c6b (diff)
downloadQt-a982f7f4fa9b406c2736adf47752587691828ab4.zip
Qt-a982f7f4fa9b406c2736adf47752587691828ab4.tar.gz
Qt-a982f7f4fa9b406c2736adf47752587691828ab4.tar.bz2
Trafficinfo example: One more asynchronous call
Task-number: 254455
-rw-r--r--examples/xmlpatterns/trafficinfo/stationdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xmlpatterns/trafficinfo/stationdialog.cpp b/examples/xmlpatterns/trafficinfo/stationdialog.cpp
index 54ed904..6c3846b 100644
--- a/examples/xmlpatterns/trafficinfo/stationdialog.cpp
+++ b/examples/xmlpatterns/trafficinfo/stationdialog.cpp
@@ -125,7 +125,7 @@ StationDialog::StationDialog(const QString &name, const QStringList &lineNumbers
m_ui.m_line4->setText(lineNumbers.at(i));
}
- searchStations();
+ QMetaObject::invokeMethod(this, SLOT(searchStations()), Qt::QueuedConnection);
}
StationInformation StationDialog::selectedStation() const