summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/xmlpatterns/trafficinfo/mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/xmlpatterns/trafficinfo/mainwindow.cpp b/examples/xmlpatterns/trafficinfo/mainwindow.cpp
index 9016d52..4b4886b 100644
--- a/examples/xmlpatterns/trafficinfo/mainwindow.cpp
+++ b/examples/xmlpatterns/trafficinfo/mainwindow.cpp
@@ -165,8 +165,7 @@ void MainWindow::resizeEvent(QResizeEvent*)
void MainWindow::updateTimeInformation()
{
- TimeQuery query;
- m_times = query.query(m_station.id(), m_lines, QDateTime::currentDateTime());
+ m_times = TimeQuery::query(m_station.id(), m_lines, QDateTime::currentDateTime());
update();
}