[nostalgia/studo] Misc cleanup

This commit is contained in:
Gary Talent 2022-02-10 02:04:38 -06:00
parent 959f75d2db
commit a64aa8b586
4 changed files with 4 additions and 5 deletions

View File

@ -90,7 +90,7 @@ class NOSTALGIASTUDIO_EXPORT Editor: public Widget {
*/
virtual void saveItem();
// slots
// signals
public:
ox::Signal<ox::Error(bool)> unsavedChangesChanged;
ox::Signal<ox::Error(bool)> exportableChanged;

View File

@ -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<ox::String> chooseDirectory() noexcept {
return OxError(1);
}
}
}

View File

@ -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<int>(err);

View File

@ -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")) {