openbsd-ports/www/minitube/patches/patch-src_MainWindow_cpp
dcoppa c9dfc6db1d Update to minitube-1.5.
Add a patch to disable checking for new versions at startup.

ok espie@, sthen@, pirofti@
2011-08-18 10:40:15 +00:00

15 lines
530 B
Plaintext

$OpenBSD: patch-src_MainWindow_cpp,v 1.6 2011/08/18 10:40:15 dcoppa Exp $
--- src/MainWindow.cpp.orig Fri Aug 5 21:26:28 2011
+++ src/MainWindow.cpp Sat Aug 6 15:22:41 2011
@@ -606,7 +606,9 @@ void MainWindow::visitSite() {
}
void MainWindow::donate() {
- QUrl url(QString(Constants::WEBSITE) + "#donate");
+ QString duh = QString(Constants::WEBSITE);
+ duh.append("#donate");
+ QUrl url(duh);
statusBar()->showMessage(QString(tr("Opening %1").arg(url.toString())));
QDesktopServices::openUrl(url);
}