mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
DownloadManager: Set default download path to Downloads folder
BUG: 391300 FIXED-IN: 3.0.1
This commit is contained in:
parent
525b929d38
commit
94e1421d30
@ -79,7 +79,7 @@ void DownloadManager::loadSettings()
|
||||
Settings settings;
|
||||
settings.beginGroup("DownloadManager");
|
||||
m_downloadPath = settings.value("defaultDownloadPath", QString()).toString();
|
||||
m_lastDownloadPath = settings.value("lastDownloadPath", QDir::homePath().append(QLatin1Char('/'))).toString();
|
||||
m_lastDownloadPath = settings.value("lastDownloadPath", QStandardPaths::writableLocation(QStandardPaths::DownloadLocation)).toString();
|
||||
m_closeOnFinish = settings.value("CloseManagerOnFinish", false).toBool();
|
||||
m_useNativeDialog = settings.value("useNativeDialog", DEFAULT_DOWNLOAD_USE_NATIVE_DIALOG).toBool();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user