openbsd-ports/www/minitube/patches/patch-src_updatechecker_cpp

15 lines
533 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_updatechecker_cpp,v 1.2 2011/03/10 22:52:15 pirofti Exp $
--- src/updatechecker.cpp.orig Wed Feb 9 23:15:04 2011
+++ src/updatechecker.cpp Wed Feb 9 23:15:07 2011
@@ -11,7 +11,9 @@ UpdateChecker::UpdateChecker() {
}
void UpdateChecker::checkForUpdate() {
- QUrl updateUrl(QString(Constants::WEBSITE) + "-ws/release.xml");
+ QString duh = QString(Constants::WEBSITE);
+ duh.append("-ws/release.xml");
+ QUrl updateUrl(duh);
updateUrl.addQueryItem("v", Constants::VERSION);
#ifdef APP_MAC