summaryrefslogtreecommitdiffstats
path: root/examples/network/googlesuggest/googlesuggest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/googlesuggest/googlesuggest.cpp')
-rw-r--r--examples/network/googlesuggest/googlesuggest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/googlesuggest/googlesuggest.cpp b/examples/network/googlesuggest/googlesuggest.cpp
index 2cba43178e..04a60103b2 100644
--- a/examples/network/googlesuggest/googlesuggest.cpp
+++ b/examples/network/googlesuggest/googlesuggest.cpp
@@ -148,7 +148,7 @@ bool GSuggestCompletion::eventFilter(QObject *obj, QEvent *ev)
//! [4]
//! [5]
-void GSuggestCompletion::showCompletion(const QVector<QString> &choices)
+void GSuggestCompletion::showCompletion(const QList<QString> &choices)
{
if (choices.isEmpty())
return;
@@ -210,7 +210,7 @@ void GSuggestCompletion::handleNetworkData(QNetworkReply *networkReply)
{
QUrl url = networkReply->url();
if (networkReply->error() == QNetworkReply::NoError) {
- QVector<QString> choices;
+ QList<QString> choices;
QByteArray response(networkReply->readAll());
QXmlStreamReader xml(response);