diff options
| author | in1tiate <woodward.randall02+github@gmail.com> | 2022-07-19 08:10:07 -0500 |
|---|---|---|
| committer | in1tiate <woodward.randall02+github@gmail.com> | 2022-07-19 08:10:07 -0500 |
| commit | df7214fdb596ad4854c52d7f85e57643997a9d0e (patch) | |
| tree | 946384fcc089dd603b84acf8db94494febb75a0f /src/aoimage.cpp | |
| parent | 972ce47fc2c9c9ddcb69488f53a0e85f3c78db83 (diff) | |
Make lambda captures of 'this' explicit
Diffstat (limited to 'src/aoimage.cpp')
| -rw-r--r-- | src/aoimage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aoimage.cpp b/src/aoimage.cpp index df69e46f..c488a093 100644 --- a/src/aoimage.cpp +++ b/src/aoimage.cpp @@ -12,7 +12,7 @@ AOImage::AOImage(QWidget *parent, AOApplication *p_ao_app, bool make_static) : Q if (!is_static) // Only create the QMovie if we're non-static { movie = new QMovie(this); - connect(movie, &QMovie::frameChanged, [=]{ + connect(movie, &QMovie::frameChanged, [this]{ QPixmap f_pixmap = movie->currentPixmap(); f_pixmap = f_pixmap.scaled(this->size(), Qt::IgnoreAspectRatio); |
