Commit b8e2832b authored by Jan Möbius's avatar Jan Möbius

Check for trailing / after updateURL

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3533 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c031c6d9
......@@ -406,10 +406,13 @@ void OptionsWidget::slotCheckUpdates() {
// http://www.graphics.rwth-aachen.de/restricted/OpenFlipper-SIL/
downloadType = VERSIONS_FILE;
QString ServerMainURL = updateURL->text() + "Versions.ini";
QString ServerMainURL = updateURL->text();
if ( !ServerMainURL.endsWith("/") )
ServerMainURL += "/";
startDownload(ServerMainURL);
ServerMainURL += "Versions.ini";
startDownload(ServerMainURL);
}
void OptionsWidget::slotGetUpdates() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment