mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 13:57:22 +00:00
GUI: fix compilation with generic lambdas, member function calls
gcc has a bug that it cannot determine the object to call member
functions on in a generic lambda:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636
Therefore prefixing such calls with this-> is required.
Same issue as 8667855928
.
This commit is contained in:
parent
f212463f76
commit
1e3cb2f053
@ -316,7 +316,7 @@ Tool::moveJobsUpOrDown(bool up) {
|
|||||||
|
|
||||||
m_model->withSelectedJobsAsList(ui->jobs, [this, up](auto const &selectedJobs) {
|
m_model->withSelectedJobsAsList(ui->jobs, [this, up](auto const &selectedJobs) {
|
||||||
m_model->moveJobsUpOrDown(selectedJobs, up);
|
m_model->moveJobsUpOrDown(selectedJobs, up);
|
||||||
selectJobs(selectedJobs);
|
this->selectJobs(selectedJobs);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (focus)
|
if (focus)
|
||||||
|
Loading…
Reference in New Issue
Block a user