mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-10 17:13:39 +01:00
Update SLOT signatures.
There weren't update as part of commit 33494dcddc
: this prevented the slider to be updated, among other things.
This commit is contained in:
parent
3cc9c1e446
commit
ec98a68c3d
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user