summaryrefslogtreecommitdiffstats
path: root/examples/xmlpatterns
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns')
-rw-r--r--examples/xmlpatterns/trafficinfo/stationdialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/xmlpatterns/trafficinfo/stationdialog.cpp b/examples/xmlpatterns/trafficinfo/stationdialog.cpp
index f3f124a..bf881df 100644
--- a/examples/xmlpatterns/trafficinfo/stationdialog.cpp
+++ b/examples/xmlpatterns/trafficinfo/stationdialog.cpp
@@ -157,8 +157,6 @@ QStringList StationDialog::lineNumbers() const
void StationDialog::searchStations()
{
- StationQuery query;
-
- m_model->setStations(query.query(m_ui.m_input->text()));
+ m_model->setStations(StationQuery::query(m_ui.m_input->text()));
m_ui.m_view->keyboardSearch(m_ui.m_input->text());
}