Update SLOT signatures.

There weren't update as part of commit 33494dcddcb64f9fccae215f1100cfa885c72039: this prevented the slider to be updated, among other things.
This commit is contained in:
Arnaud Bienner 2015-11-27 11:44:59 +01:00
parent 3cc9c1e446
commit ec98a68c3d
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ class ClosureBase {
ObjectHelper* helper_;
private:
Q_DISABLE_COPY(ClosureBase);
Q_DISABLE_COPY(ClosureBase)
};
// QObject helper as templated QObjects do not work.
@ -63,7 +63,7 @@ class ObjectHelper : public QObject {
private:
std::unique_ptr<ClosureBase> closure_;
Q_DISABLE_COPY(ObjectHelper);
Q_DISABLE_COPY(ObjectHelper)
};
// Helpers for unpacking a variadic template list.

View File

@ -455,7 +455,7 @@ bool GstEngine::Play(quint64 offset_nanosec) {
QFuture<GstStateChangeReturn> future =
current_pipeline_->SetState(GST_STATE_PLAYING);
NewClosure(future, this, SLOT(PlayDone()), offset_nanosec,
NewClosure(future, this, SLOT(PlayDone(QFuture<GstStateChangeReturn>, quint64, int)), offset_nanosec,
current_pipeline_->id());
if (is_fading_out_to_pause_) {
@ -848,7 +848,7 @@ int GstEngine::AddBackgroundStream(shared_ptr<GstEnginePipeline> pipeline) {
background_streams_[stream_id] = pipeline;
QFuture<GstStateChangeReturn> future = pipeline->SetState(GST_STATE_PLAYING);
NewClosure(future, this, SLOT(BackgroundStreamPlayDone()), stream_id);
NewClosure(future, this, SLOT(BackgroundStreamPlayDone(QFuture<GstStateChangeReturn>, int)), stream_id);
return stream_id;
}