aboutsummaryrefslogtreecommitdiff
path: root/src/aoimage.cpp
diff options
context:
space:
mode:
authorin1tiate <woodward.randall02+github@gmail.com>2022-07-19 08:10:07 -0500
committerin1tiate <woodward.randall02+github@gmail.com>2022-07-19 08:10:07 -0500
commitdf7214fdb596ad4854c52d7f85e57643997a9d0e (patch)
tree946384fcc089dd603b84acf8db94494febb75a0f /src/aoimage.cpp
parent972ce47fc2c9c9ddcb69488f53a0e85f3c78db83 (diff)
Make lambda captures of 'this' explicit
Diffstat (limited to 'src/aoimage.cpp')
-rw-r--r--src/aoimage.cpp2
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);