diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-04-26 10:00:41 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-02 09:33:35 +0200 |
commit | d0c01c581a69649d189a4febea90be050100322f (patch) | |
tree | f2642c9d032718d4f8befcbe2afe5b435bc82b64 /tests | |
parent | 951f97722792fee9601425120f0b64408ec18a4a (diff) |
QtQuick1: Fix deprecation warnings.
Introduced by qtbase:0df1c9f1fa04c06d6105de3f312c6c752a58ad70
Change-Id: I61e330707a49efd09bad0efda386712fba207c8a
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp b/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp index 77286559..cc8dac40 100644 --- a/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp +++ b/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp @@ -45,7 +45,7 @@ #include <QNetworkAccessManager> #include <QPointer> #include <QDir> -#include <QDesktopServices> +#include <QStandardPaths> #include <QDebug> #include <QDeclarativeComponent> #include <QDeclarativeNetworkAccessManagerFactory> @@ -180,7 +180,7 @@ void tst_qdeclarativeengine::offlineStoragePath() QDeclarativeEngine engine; - QDir dir(QDesktopServices::storageLocation(QDesktopServices::DataLocation)); + QDir dir(QStandardPaths::standardLocations(QStandardPaths::DataLocation).front()); dir.mkpath("QML"); dir.cd("QML"); dir.mkpath("OfflineStorage"); |