Skip to content
Commit 884323b7 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Add CaptureWindow::instances() and ViewerWindow::instance()

Use these instead of m_viewerWindow and m_captureWindows in
SpectacleCore. CaptureWindow::instances() automatically grows and
shrinks when capture windows are created or closed.
It's too much work to ensure that m_captureWindows only contains
unique_ptrs that aren't null after QWindow::close() has been called.
parent 08d23305
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment