nixpkgs/pkgs/applications/video/smplayer/basegui.cpp.patch

12 lines
477 B
Diff
Raw Normal View History

2014-10-11 00:23:01 +00:00
--- a/src/basegui.cpp 2014-08-20 01:04:51.000000000 +0100
+++ b/src/basegui.cpp 2014-10-11 10:25:57.561983556 +0100
@@ -5235,7 +5235,7 @@
#ifdef YOUTUBE_SUPPORT
void BaseGui::showTubeBrowser() {
qDebug("BaseGui::showTubeBrowser");
- QString exec = Paths::appPath() + "/smtube";
+ QString exec = "smtube";
qDebug("BaseGui::showTubeBrowser: '%s'", exec.toUtf8().constData());
if (!QProcess::startDetached(exec, QStringList())) {
QMessageBox::warning(this, "SMPlayer",