From bd84223fff34578918a9ea1ba8c8d7d58edb0433 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Fri, 2 Oct 2009 16:12:55 +0200 Subject: Use storage location MoviesLocation instead of app folder. --- demos/mediaplayer/mediaplayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/mediaplayer/mediaplayer.cpp b/demos/mediaplayer/mediaplayer.cpp index 5d9a793..472b7db 100644 --- a/demos/mediaplayer/mediaplayer.cpp +++ b/demos/mediaplayer/mediaplayer.cpp @@ -652,7 +652,8 @@ void MediaPlayer::setFile(const QString &fileName) void MediaPlayer::openFile() { - QStringList fileNames = QFileDialog::getOpenFileNames(this); + QStringList fileNames = QFileDialog::getOpenFileNames(this, QString(), + QDesktopServices::storageLocation(QDesktopServices::MoviesLocation)); m_MediaObject.clearQueue(); if (fileNames.size() > 0) { QString fileName = fileNames[0]; -- cgit v0.12