--- a/src/download.cpp Tue Oct 22 22:14:32 2013 +0300 +++ b/src/download.cpp Thu Dec 05 13:51:52 2013 +0200 @@ -97,7 +97,7 @@ switch (src) { case PartsTracker: dest = ui->fname->text(); - modifyDest (dest); + modifyDestination (dest); return str (k_UnofficialURL) + dest; case CustomURL: @@ -110,7 +110,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- -void PartDownloader::modifyDest (str& dest) const +void PartDownloader::modifyDestination (str& dest) const { dest = dest.simplified(); // If the user doesn't want us to guess, stop right here. @@ -202,7 +202,7 @@ if (getSource() == CustomURL) dest = basename (getURL()); - modifyDest (dest); + modifyDestination (dest); if (QFile::exists (PartDownloader::getDownloadPath() + DIRSLASH + dest)) { const str overwritemsg = fmt (tr ("%1 already exists in download directory. Overwrite?"), dest); @@ -230,7 +230,7 @@ if (m_filesToDownload.indexOf (dest) != -1) return; - modifyDest (dest); + modifyDestination (dest); log ("DOWNLOAD: %1 -> %2\n", url, PartDownloader::getDownloadPath() + DIRSLASH + dest); PartDownloadRequest* req = new PartDownloadRequest (url, dest, primary, this); @@ -264,7 +264,7 @@ if (primaryFile()) { LDFile::setCurrent (primaryFile()); reloadAllSubfiles(); - g_win->fullRefresh(); + g_win->doFullRefresh(); g_win->R()->resetAngles(); } @@ -430,7 +430,7 @@ continue; str dest = err->fileRef(); - m_prompt->modifyDest (dest); + m_prompt->modifyDestination (dest); m_prompt->downloadFile (dest, str (PartDownloader::k_UnofficialURL) + dest, false); }