diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-02 14:12:55 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-02 14:49:57 (GMT) |
commit | bd84223fff34578918a9ea1ba8c8d7d58edb0433 (patch) | |
tree | d82963578a3995fba8d6786c1e4dec757548267c /demos | |
parent | 1e6ced147c26f926a1827dc057a3fd3037985494 (diff) | |
download | Qt-bd84223fff34578918a9ea1ba8c8d7d58edb0433.zip Qt-bd84223fff34578918a9ea1ba8c8d7d58edb0433.tar.gz Qt-bd84223fff34578918a9ea1ba8c8d7d58edb0433.tar.bz2 |
Use storage location MoviesLocation instead of app folder.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/mediaplayer/mediaplayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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]; |