summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-08-17 13:36:29 -0700
committerDentomologist <dentomologist@gmail.com>2025-08-17 14:39:40 -0700
commit99be30c0e15694031ec094549b3f84d3b5a9c3eb (patch)
tree1d0bd12244b7e3c6d0bd6574d3b2838412662002 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent6f43f8eef5a0340a4aa60998fc94da11a660d0fb (diff)
FIFOPlayerWindow: Trigger destructor on Dolphin shutdown
Make MainWindow::m_fifo_window a unique_ptr to ensure its destructor is triggered when MainWindow is destroyed. FIFOPlayerWindow doesn't set MainWindow as its parent in order to prevent raising MainWindow when focusing FIFOPlayerWindow. This avoids MainWindow covering up RenderWidget when, e.g., trying to use the object range feature to pinpoint the index of a particular object. As a consequence, unlike most QObjects FIFOPlayerWindow wasn't destroyed when its parent widget was since it didn't have one.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions