From ec359a805e396b0cff6d0b3f3690b36a55adbe28 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 15 Oct 2020 21:46:34 -0500 Subject: [PATCH] [nostalgia] Cleanup --- src/nostalgia/player/main.cpp | 2 +- src/nostalgia/studio/lib/context.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/player/main.cpp b/src/nostalgia/player/main.cpp index 227b1d269..294c41f0f 100644 --- a/src/nostalgia/player/main.cpp +++ b/src/nostalgia/player/main.cpp @@ -36,7 +36,7 @@ static int eventHandler(core::Context *ctx) { return 16; } -ox::Error run(ox::FileSystem *fs) { +static ox::Error run(ox::FileSystem *fs) { core::Context ctx; ctx.rom = fs; oxReturnError(core::init(&ctx)); diff --git a/src/nostalgia/studio/lib/context.hpp b/src/nostalgia/studio/lib/context.hpp index 33343a20a..20b913c1c 100644 --- a/src/nostalgia/studio/lib/context.hpp +++ b/src/nostalgia/studio/lib/context.hpp @@ -17,8 +17,8 @@ class Context { public: QString appName; QString orgName; - QWidget* tabParent = nullptr; - const class Project* project = nullptr; + QWidget *tabParent = nullptr; + const class Project *project = nullptr; }; }