openbsd-ports/www/minitube/patches/patch-src_updatechecker_cpp
pirofti 17f7528b4c Update to minitube-1.4.
From Antti Harri, thanks!

``"Hands Commercial" works, that's all I use youtube for. ok with me''
	-- jasper@
2011-03-10 22:52:15 +00:00

15 lines
533 B
Plaintext

$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