diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/nokia_services/routing/tst_routing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/nokia_services/routing/tst_routing.cpp b/tests/auto/nokia_services/routing/tst_routing.cpp index ff3fd6ac..833c95af 100644 --- a/tests/auto/nokia_services/routing/tst_routing.cpp +++ b/tests/auto/nokia_services/routing/tst_routing.cpp @@ -102,8 +102,8 @@ void MockGeoNetworkReply::setFile(QFile* file) void MockGeoNetworkReply::complete() { - if (networkError() != QNetworkReply::NoError) - emit error(networkError()); + if (error() != QNetworkReply::NoError) + emit error(error()); setFinished(true); emit finished(); } |