Skip to content

Commit c152b07

Browse files
fix
git-svn-id: https://instead-launcher.googlecode.com/svn/trunk@479 5a6d72ec-0354-11df-adb7-1be7f7e3f636
1 parent ea164be commit c152b07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

updatewidget.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "updatewidget.h"
2+
#include "urlresolver.h"
23
#include "config.h"
34
#include "global.h"
45

@@ -77,7 +78,7 @@ void UpdateWidget::refreshUpdateList( QString insteadBinary, bool automatically
7778
// retrieve remote versions
7879
m_automatically = automatically;
7980
setHtml( "<h3>" + tr("Loading updates ... please wait") + "</h3>" );
80-
QUrl url(SW_UPDATE_URL);
81+
QUrl url=UrlResolver::resolve(QUrl(SW_UPDATE_URL));
8182
qDebug() << "downloading update list from " << url.toString();
8283
m_listServer->setHost(url.host());
8384
m_listServer->setProxy( *Global::ptr()->networkProxy() );

0 commit comments

Comments
 (0)