mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Avoid implicit capture of 'this' via '[=]' as deprecated in C++20
This commit is contained in:
parent
d79274cbe7
commit
bfdc6d938a
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ ScreenShotUtil::ScreenShotUtil(QObject *parent)
|
|||
void ScreenShotUtil::takeScreenShot()
|
||||
{
|
||||
// wait ~200 ms to wait for rest of animations
|
||||
QTimer::singleShot(SCREENSHOT_DELAY, [=]() {
|
||||
QTimer::singleShot(SCREENSHOT_DELAY, [this]() {
|
||||
int lPipeFds[2];
|
||||
if (pipe2(lPipeFds, O_CLOEXEC) != 0) {
|
||||
qWarning() << "Could not take screenshot";
|
||||
|
|
|
|||
Loading…
Reference in a new issue