Gui: Add download location to side bar of file dialog

This commit is contained in:
wmayer
2023-03-07 14:19:18 +01:00
committed by wwmayer
parent 2036194753
commit 3cafc5e782

View File

@@ -100,6 +100,7 @@ QList<QUrl> FileDialog::fetchSidebarUrls()
QStringList list;
list << QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
list << QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
list << QStandardPaths::writableLocation(QStandardPaths::DownloadLocation);
list << QStandardPaths::writableLocation(QStandardPaths::HomeLocation);
list << QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
list << getWorkingDirectory();