From 3c75e7eeeb3b4d3304544f8954cc0a28427c81a9 Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 25 Nov 2024 19:16:34 +0000 Subject: [PATCH] GuiApp: Remove redundant qualifications from identifiers --- examples/CMake/GuiApp/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/CMake/GuiApp/Main.cpp b/examples/CMake/GuiApp/Main.cpp index 6930f3e0db..702aaa4dc6 100644 --- a/examples/CMake/GuiApp/Main.cpp +++ b/examples/CMake/GuiApp/Main.cpp @@ -57,8 +57,8 @@ public: explicit MainWindow (juce::String name) : DocumentWindow (name, juce::Desktop::getInstance().getDefaultLookAndFeel() - .findColour (ResizableWindow::backgroundColourId), - DocumentWindow::allButtons) + .findColour (backgroundColourId), + allButtons) { setUsingNativeTitleBar (true); setContentOwned (new MainComponent(), true); @@ -78,7 +78,7 @@ public: // This is called when the user tries to close this window. Here, we'll just // ask the app to quit when this happens, but you can change this to do // whatever you need. - JUCEApplication::getInstance()->systemRequestedQuit(); + getInstance()->systemRequestedQuit(); } /* Note: Be careful if you override any DocumentWindow methods - the base