bootmanager: make main_context a unique_ptr

This commit is contained in:
Vitor Kiguchi 2023-04-03 12:17:09 -03:00
parent 40849a8fa8
commit 5c50a26b38
2 changed files with 3 additions and 3 deletions

View file

@ -192,7 +192,7 @@ private:
/// Main context that will be shared with all other contexts that are requested.
/// If this is used in a shared context setting, then this should not be used directly, but
/// should instead be shared from
static std::shared_ptr<Frontend::GraphicsContext> main_context;
static std::unique_ptr<Frontend::GraphicsContext> main_context;
/// Temporary storage of the screenshot taken
QImage screenshot_image;