openbsd-ports/www/minitube/patches/patch-src_MainWindow_cpp
dcoppa eaabc9adc8 Update to minitube-1.1.
Fix it after YouTube.com API changes.

OK jakemsr@, espie@
2010-08-02 07:23:04 +00:00

15 lines
530 B
Plaintext

$OpenBSD: patch-src_MainWindow_cpp,v 1.2 2010/08/02 07:23:04 dcoppa Exp $
--- src/MainWindow.cpp.orig Tue Jul 27 00:39:16 2010
+++ src/MainWindow.cpp Thu Jul 29 19:26:37 2010
@@ -478,7 +478,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);
}