freebsd-ports/net/rclone-browser/files/patch-src_stream__widget.cpp
Tobias C. Berner c45de9579f Qt5 update to 5.13.0
For new features, check: https://wiki.qt.io/New_Features_in_Qt_5.13

Thanks to adridg who helped to fix a lot of packages.

Exp-run by:	antoine
PR:		238782
2019-10-01 04:13:31 +00:00

11 lines
450 B
C++

--- src/stream_widget.cpp.orig 2017-03-11 22:16:36 UTC
+++ src/stream_widget.cpp
@@ -58,7 +58,7 @@ StreamWidget::StreamWidget(QProcess* rclone, QProcess*
}
});
- QObject::connect(mRclone, static_cast<void(QProcess::*)(int)>(&QProcess::finished), this, [=]()
+ QObject::connect(mRclone, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, [=]()
{
mRclone->deleteLater();
mRunning = false;