diff -r d8935cdb24c0 -r 05b3e173c900 src/partdownloader.cpp --- a/src/partdownloader.cpp Sat Mar 24 12:09:26 2018 +0200 +++ b/src/partdownloader.cpp Sat Mar 24 12:34:20 2018 +0200 @@ -61,7 +61,7 @@ if (path.isEmpty()) reject(); else - m_config->setDownloadFilePath(path); + config::setDownloadFilePath(path); } } @@ -90,7 +90,7 @@ destination = destination.simplified(); // If the user doesn't want us to guess, stop right here. - if (not m_config->guessDownloadPaths()) + if (not config::guessDownloadPaths()) return; // Ensure .dat extension @@ -255,7 +255,7 @@ if (primaryFile()) emit primaryFileDownloaded(); - if (m_config->autoCloseDownloadDialog() and not failed) + if (config::autoCloseDownloadDialog() and not failed) { // Close automatically if desired. accept(); @@ -308,7 +308,7 @@ QString PartDownloader::downloadPath() { - QString path = m_config->downloadFilePath(); + QString path = config::downloadFilePath(); if (DIRSLASH[0] != '/') path.replace(DIRSLASH, "/");