use QStandardPaths locations for all file dialogs.
This commit is contained in:
parent
17b5cc32dc
commit
cb36050822
4 changed files with 15 additions and 6 deletions
|
|
@ -1299,7 +1299,8 @@ TimelineModel::saveMedia(QString eventId) const
|
|||
}
|
||||
|
||||
const QString filterString = QMimeDatabase().mimeTypeForName(mimeType).filterString();
|
||||
const QString downloadsFolder = QStandardPaths::writableLocation(QStandardPaths::DownloadLocation);
|
||||
const QString downloadsFolder =
|
||||
QStandardPaths::writableLocation(QStandardPaths::DownloadLocation);
|
||||
const QString openLocation = downloadsFolder + "/" + originalFilename;
|
||||
|
||||
const QString filename = QFileDialog::getSaveFileName(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue