From a64aa8b58692da2c5f96d7275bc09e92330a2671 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 10 Feb 2022 02:04:38 -0600 Subject: [PATCH] [nostalgia/studo] Misc cleanup --- src/nostalgia/studio/lib/editor.hpp | 2 +- src/nostalgia/studio/lib/filedialog_mac.mm | 4 ++-- src/nostalgia/studio/main.cpp | 1 - src/nostalgia/studio/studioapp.cpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/nostalgia/studio/lib/editor.hpp b/src/nostalgia/studio/lib/editor.hpp index 2cc56425..2f3952db 100644 --- a/src/nostalgia/studio/lib/editor.hpp +++ b/src/nostalgia/studio/lib/editor.hpp @@ -90,7 +90,7 @@ class NOSTALGIASTUDIO_EXPORT Editor: public Widget { */ virtual void saveItem(); - // slots + // signals public: ox::Signal unsavedChangesChanged; ox::Signal exportableChanged; diff --git a/src/nostalgia/studio/lib/filedialog_mac.mm b/src/nostalgia/studio/lib/filedialog_mac.mm index 4b27aa5d..50695d3f 100644 --- a/src/nostalgia/studio/lib/filedialog_mac.mm +++ b/src/nostalgia/studio/lib/filedialog_mac.mm @@ -1,5 +1,5 @@ /* - * Copyright 2016 - 2021 gary@drinkingtea.net + * Copyright 2016 - 2022 gary@drinkingtea.net * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -29,4 +29,4 @@ ox::Result chooseDirectory() noexcept { return OxError(1); } -} \ No newline at end of file +} diff --git a/src/nostalgia/studio/main.cpp b/src/nostalgia/studio/main.cpp index f55e35b0..6b6bf513 100644 --- a/src/nostalgia/studio/main.cpp +++ b/src/nostalgia/studio/main.cpp @@ -53,7 +53,6 @@ static ox::Error run(int argc, const char **argv) noexcept { } int main(int argc, const char **argv) { - ox::trace::init(); const auto err = nostalgia::run(argc, argv); oxAssert(err, "Something went wrong..."); return static_cast(err); diff --git a/src/nostalgia/studio/studioapp.cpp b/src/nostalgia/studio/studioapp.cpp index 5c1e19dc..45f7d90a 100644 --- a/src/nostalgia/studio/studioapp.cpp +++ b/src/nostalgia/studio/studioapp.cpp @@ -87,7 +87,7 @@ void StudioUI::drawMenu() noexcept { } ImGui::EndMenu(); } - if (ImGui::BeginMenu("Module", false)) { + if (ImGui::BeginMenu("View", false)) { ImGui::EndMenu(); } if (ImGui::BeginMenu("Help")) {