From f949d22b8ed06ccaa342cb4aee8ca743a0be411f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 23 May 2026 01:12:53 -0500 Subject: [PATCH] [nostalgia/gfx/studio] Fix warning --- .../modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.cpp | 1 - .../modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.cpp b/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.cpp index 50239974..c4731fc7 100644 --- a/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -71,7 +71,6 @@ void PaletteEditorImGui::PageRenameDialog::draw() noexcept { PaletteEditorImGui::PaletteEditorImGui(studio::Context &sctx, ox::StringParam path): Editor(sctx, std::move(path)), m_sctx(sctx), - m_tctx(sctx.tctx), m_pal(m_sctx.project->loadObj(itemPath()).unwrapThrow()) { undoStack()->changeTriggered.connect(this, &PaletteEditorImGui::handleCommand); m_pageRenameDlg.inputSubmitted.connect(this, &PaletteEditorImGui::renamePage); diff --git a/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.hpp b/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.hpp index 935b3720..62f4090d 100644 --- a/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.hpp +++ b/src/nostalgia/modules/gfx/src/studio/paletteeditor/paletteeditor-imgui.hpp @@ -32,7 +32,6 @@ class PaletteEditorImGui: public studio::Editor { void draw() noexcept; } m_pageRenameDlg; studio::Context &m_sctx; - turbine::Context &m_tctx; Palette m_pal; size_t m_selectedColorRow = 0; size_t m_page = 0;