summaryrefslogtreecommitdiffstats
path: root/examples/network/googlesuggest/googlesuggest.h
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-03-05 15:10:03 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-03-09 14:21:08 +0000
commit3e6a14168bfa1a8815baf28eba8eeff5e3a97a80 (patch)
treeba8520a1bf0f45cfa32bbde2d76924d02bc56453 /examples/network/googlesuggest/googlesuggest.h
parentb0ae0db61afbb93f8087937c8453d78a680bcbeb (diff)
Example: Removed the code to handle 'num_entries' info.
The Google Suggest API doesn't return the 'num_queries' anymore. Had to remove code related to 'num_queries' entry so that the suggestion list shows up. Task-number: QTBUG-42817 Change-Id: Ic918d1c86840fa4c1e18f32a984f5a9dd911261d Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/network/googlesuggest/googlesuggest.h')
-rw-r--r--examples/network/googlesuggest/googlesuggest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/googlesuggest/googlesuggest.h b/examples/network/googlesuggest/googlesuggest.h
index dfa04cd009..e53fe996d4 100644
--- a/examples/network/googlesuggest/googlesuggest.h
+++ b/examples/network/googlesuggest/googlesuggest.h
@@ -61,7 +61,7 @@ public:
GSuggestCompletion(QLineEdit *parent = 0);
~GSuggestCompletion();
bool eventFilter(QObject *obj, QEvent *ev) Q_DECL_OVERRIDE;
- void showCompletion(const QStringList &choices, const QStringList &hits);
+ void showCompletion(const QStringList &choices);
public slots: