1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-08 23:24:19 +00:00

GuiApp: Remove redundant qualifications from identifiers

This commit is contained in:
reuk 2024-11-25 19:16:34 +00:00
parent 6f85c2c862
commit 3c75e7eeeb
No known key found for this signature in database

View file

@ -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