openbsd-ports/www/minitube/patches/patch-src_MainWindow_cpp
dcoppa 9e4466ed31 Update to minitube-1.9
Ok pirofti@ (maintainer)
2012-09-27 20:35:49 +00:00

15 lines
531 B
Plaintext

$OpenBSD: patch-src_MainWindow_cpp,v 1.10 2012/09/27 20:35:49 dcoppa Exp $
--- src/MainWindow.cpp.orig Thu Sep 27 12:17:03 2012
+++ src/MainWindow.cpp Thu Sep 27 15:34:50 2012
@@ -828,7 +828,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);
}