Index: kstars/ekos/profilewizard.cpp =================================================================== --- kstars/ekos/profilewizard.cpp +++ kstars/ekos/profilewizard.cpp @@ -35,18 +35,18 @@ windiPix->setPixmap(im); connect(buttonBox, SIGNAL(rejected()), this, SLOT(close())); - connect(buttonBox, &QDialogButtonBox::helpRequested, this, [this]() { KStars::Instance()->appHelpActivated(); }); + connect(buttonBox, &QDialogButtonBox::helpRequested, this, []() { KStars::Instance()->appHelpActivated(); }); connect(buttonBox, &QDialogButtonBox::clicked, this, [this](QAbstractButton *button) { if (button == buttonBox->button(QDialogButtonBox::Reset)) reset(); }); connect(discoverEkosB, &QPushButton::clicked, this, - [this]() { QDesktopServices::openUrl(QUrl("http://www.indilib.org/about/ekos.html")); }); + []() { QDesktopServices::openUrl(QUrl("http://www.indilib.org/about/ekos.html")); }); connect(videoTutorialsB, &QPushButton::clicked, this, - [this]() { QDesktopServices::openUrl(QUrl("https://www.youtube.com/user/QAstronomy")); }); + []() { QDesktopServices::openUrl(QUrl("https://www.youtube.com/user/QAstronomy")); }); connect(INDIInfoB, &QPushButton::clicked, this, - [this]() { QDesktopServices::openUrl(QUrl("http://indilib.org/about/discover-indi.html")); }); + []() { QDesktopServices::openUrl(QUrl("http://indilib.org/about/discover-indi.html")); }); // Intro actions connect(introNextB, &QPushButton::clicked, this, Index: kstars/skyqpainter.cpp =================================================================== --- kstars/skyqpainter.cpp +++ kstars/skyqpainter.cpp @@ -763,7 +763,7 @@ psize *= 2.; if (size > 100.) psize *= 2.; - auto putDot = [this, psize, &lambdaDrawEllipse](float x, float y) { + auto putDot = [psize, &lambdaDrawEllipse](float x, float y) { lambdaDrawEllipse(x - psize / 2., y - psize / 2., psize, psize); }; putDot(xa, y1);