openbsd-ports/www/minitube/patches/patch-src_MainWindow_cpp
rpointel e3cd1e11f4 Update minitube to 1.4.1.
ok pirofti@.
2011-03-19 14:38:44 +00:00

15 lines
532 B
Plaintext

$OpenBSD: patch-src_MainWindow_cpp,v 1.5 2011/03/19 14:38:44 rpointel Exp $
--- src/MainWindow.cpp.orig Thu Mar 17 00:07:11 2011
+++ src/MainWindow.cpp Thu Mar 17 18:31:39 2011
@@ -594,7 +594,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);
}