1
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:
nowrep 2011-03-05 11:27:30 +01:00
parent 2854fcab55
commit 989244a6f3

View File

@ -39,8 +39,8 @@ DownloadManager::DownloadManager(QWidget *parent) :
QSettings settings(mApp->getActiveProfil()+"settings.ini", QSettings::IniFormat);
settings.beginGroup("DownloadManager");
m_downloadPath = settings.value("defaultDownloadPath", QDir::homePath()).toString();
m_lastDownloadPath = settings.value("lastDownloadPath","").toString();
m_downloadPath = settings.value("defaultDownloadPath", "");
m_lastDownloadPath = settings.value("lastDownloadPath",QDir::homePath()+"/").toString();
settings.endGroup();
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clearList()));