Fixed compile; QDesktopServices -> QStandardPaths
Broken by qtbase dfa24768a3243eda68d91f573050bf23f96da2dd. Change-Id: Ie0d79eaee5c6fedfaacae69800f6aec9190f83db Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
6aea1a22ee
commit
df19dfcb56
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user