summaryrefslogtreecommitdiff
path: root/src/location/places/unsupportedreplies_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/places/unsupportedreplies_p.h')
-rw-r--r--src/location/places/unsupportedreplies_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/location/places/unsupportedreplies_p.h b/src/location/places/unsupportedreplies_p.h
index 7e431fbe..b915004a 100644
--- a/src/location/places/unsupportedreplies_p.h
+++ b/src/location/places/unsupportedreplies_p.h
@@ -96,10 +96,11 @@ class QPlaceSearchReplyUnsupported : public QPlaceSearchReply
Q_OBJECT
public:
- QPlaceSearchReplyUnsupported(const QString &message, QPlaceManagerEngine *parent)
+ QPlaceSearchReplyUnsupported(QPlaceReply::Error errorCode, const QString &message,
+ QPlaceManagerEngine *parent)
: QPlaceSearchReply(parent)
{
- setError(QPlaceReply::UnsupportedError, message);
+ setError(errorCode, message);
setFinished(true);
QMetaObject::invokeMethod(this, "error", Qt::QueuedConnection,
Q_ARG(QPlaceReply::Error, error()),