mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
Silence deprecation warning (implicit capture of this on [=])
This commit is contained in:
parent
1bc9fd2863
commit
4bc431ec31
31 changed files with 249 additions and 247 deletions
|
@ -167,7 +167,7 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
|||
|
||||
void gs_frame::toggle_fullscreen()
|
||||
{
|
||||
auto l_setFullScreenVis = [&]()
|
||||
Emu.CallAfter([this]()
|
||||
{
|
||||
if (visibility() == FullScreen)
|
||||
{
|
||||
|
@ -177,15 +177,13 @@ void gs_frame::toggle_fullscreen()
|
|||
{
|
||||
setVisibility(FullScreen);
|
||||
}
|
||||
};
|
||||
|
||||
Emu.CallAfter(l_setFullScreenVis);
|
||||
});
|
||||
}
|
||||
|
||||
void gs_frame::close()
|
||||
{
|
||||
Emu.Stop();
|
||||
Emu.CallAfter([=]() { deleteLater(); });
|
||||
Emu.CallAfter([this]() { deleteLater(); });
|
||||
}
|
||||
|
||||
bool gs_frame::shown()
|
||||
|
@ -195,12 +193,12 @@ bool gs_frame::shown()
|
|||
|
||||
void gs_frame::hide()
|
||||
{
|
||||
Emu.CallAfter([=]() {QWindow::hide(); });
|
||||
Emu.CallAfter([this]() {QWindow::hide(); });
|
||||
}
|
||||
|
||||
void gs_frame::show()
|
||||
{
|
||||
Emu.CallAfter([=]()
|
||||
Emu.CallAfter([this]()
|
||||
{
|
||||
QWindow::show();
|
||||
if (g_cfg.misc.start_fullscreen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue