diff options
author | Alessandro Portale <aportale@trolltech.com> | 2009-08-21 22:13:09 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2009-08-21 22:13:09 (GMT) |
commit | 325b704a2ecd991d2716fdb92044da3638cadd92 (patch) | |
tree | 2ae82157ef60389c2cb57c063a5ff65936121f2e | |
parent | 1368cffb3f626b4f2cf9fecf57168c2efb14515b (diff) | |
download | Qt-325b704a2ecd991d2716fdb92044da3638cadd92.zip Qt-325b704a2ecd991d2716fdb92044da3638cadd92.tar.gz Qt-325b704a2ecd991d2716fdb92044da3638cadd92.tar.bz2 |
Fix warning about unreferenced element.
StationQuery::query is static. No need for StationQuery instance.
-rw-r--r-- | examples/xmlpatterns/trafficinfo/stationdialog.cpp | 4 |
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()); } |