mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[Fix:] Download default location
This commit is contained in:
parent
2854fcab55
commit
989244a6f3
|
@ -39,8 +39,8 @@ DownloadManager::DownloadManager(QWidget *parent) :
|
||||||
|
|
||||||
QSettings settings(mApp->getActiveProfil()+"settings.ini", QSettings::IniFormat);
|
QSettings settings(mApp->getActiveProfil()+"settings.ini", QSettings::IniFormat);
|
||||||
settings.beginGroup("DownloadManager");
|
settings.beginGroup("DownloadManager");
|
||||||
m_downloadPath = settings.value("defaultDownloadPath", QDir::homePath()).toString();
|
m_downloadPath = settings.value("defaultDownloadPath", "");
|
||||||
m_lastDownloadPath = settings.value("lastDownloadPath","").toString();
|
m_lastDownloadPath = settings.value("lastDownloadPath",QDir::homePath()+"/").toString();
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clearList()));
|
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clearList()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user