diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-10-24 13:04:56 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-24 05:59:41 +0200 |
commit | df19dfcb565b7588374ac461dc86566d92820f69 (patch) | |
tree | a160cc5d9696e46aefafd2735a68c177a71e094a | |
parent | 6aea1a22eeebfe040a330d746de9e9d2cc99b130 (diff) | |
download | qtmultimedia-df19dfcb565b7588374ac461dc86566d92820f69.tar.gz |
Fixed compile; QDesktopServices -> QStandardPaths
Broken by qtbase dfa24768a3243eda68d91f573050bf23f96da2dd.
Change-Id: Ie0d79eaee5c6fedfaacae69800f6aec9190f83db
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
-rw-r--r-- | src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp index 49aa3fb8f..db64ba66a 100644 --- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp +++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp @@ -55,7 +55,7 @@ #include <QtCore/qtimer.h> #include <QtCore/qdebug.h> #include <QtCore/qdir.h> -#include <QtGui/qdesktopservices.h> +#include <QtCore/qstandardpaths.h> #if defined(Q_WS_MAEMO_6) || (GST_VERSION_MICRO > 20) #define USE_PLAYBIN2 @@ -1572,7 +1572,7 @@ void QGstreamerPlayerSession::handleElementAdded(GstBin *bin, GstElement *elemen session->m_haveQueueElement = true; if (session->property("mediaDownloadEnabled").toBool()) { - QDir cacheDir(QDesktopServices::storageLocation(QDesktopServices::CacheLocation)); + QDir cacheDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)); QString cacheLocation = cacheDir.absoluteFilePath("gstmedia__XXXXXX"); #ifdef DEBUG_PLAYBIN qDebug() << "set queue2 temp-location" << cacheLocation; |