diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-13 14:42:50 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-13 13:56:54 +0000 |
commit | 331d8fe606ce0355a7126eb8b68749ceb8b3f15f (patch) | |
tree | 222746c282f7f933382a6637aa13dfa7277f31dc | |
parent | a24032167a17c51c8ac4e36f4a9bb60d5877a1d3 (diff) | |
download | qtlocation-331d8fe606ce0355a7126eb8b68749ceb8b3f15f.tar.gz |
QDeclarativeGeoRouteModel: Add missing tr()
Fix warning about constructing a QString from const char *.
Change-Id: Ic5d4322fb8beec9645072bbc029ddff5e646eb90
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroutemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 90796412..1c9b7c85 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -571,7 +571,7 @@ void QDeclarativeGeoRouteModel::update() return; } if (!routeQuery_) { - setError(ParseError,"Cannot route, valid query not set."); + setError(ParseError, tr("Cannot route, valid query not set.")); return; } emit abortRequested(); // Clear previous requests |