diff options
Diffstat (limited to 'src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp')
-rw-r--r-- | src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp b/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp index cfcdb1046..b7236facf 100644 --- a/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp +++ b/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp @@ -334,9 +334,9 @@ QDir QGstreamerRecorderControl::defaultDir() const #endif if (m_session->captureMode() & QGstreamerCaptureSession::Video) - dirCandidates << QDesktopServices::storageLocation(QDesktopServices::MoviesLocation); + dirCandidates << QStandardPaths::writableLocation(QStandardPaths::MoviesLocation); else - dirCandidates << QDesktopServices::storageLocation(QDesktopServices::MusicLocation); + dirCandidates << QStandardPaths::writableLocation(QStandardPaths::MusicLocation); dirCandidates << QDir::home().filePath("Documents"); dirCandidates << QDir::home().filePath("My Documents"); |