Skip to content
Snippets Groups Projects
Commit fccf06c2 authored by Josh Siegle's avatar Josh Siegle
Browse files

Remove extra 'systemRequestedQuit' from MainWindow code

parent 143bffba
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,6 @@ AudioComponent::~AudioComponent()
if (callbacksAreActive())
endCallbacks();
deleteAndZero(graphPlayer);
}
void AudioComponent::setBufferSize(int s)
......
......@@ -91,7 +91,7 @@ private:
bool isPlaying;
AudioProcessorPlayer* graphPlayer;
ScopedPointer<AudioProcessorPlayer> graphPlayer;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AudioComponent);
......
......@@ -105,7 +105,6 @@ void MainWindow::saveWindowBounds()
std::cout << "Saving window bounds." << std::endl;
//File file = File::getCurrentWorkingDirectory().getChildFile("windowState.xml");
File executable = File::getSpecialLocation(File::currentExecutableFile);
File executableDirectory = executable.getParentDirectory();
......@@ -115,8 +114,6 @@ void MainWindow::saveWindowBounds()
xml->setAttribute("version", JUCEApplication::getInstance()->getApplicationVersion());
JUCEApplication::getInstance()->systemRequestedQuit();
XmlElement* bounds = new XmlElement("BOUNDS");
bounds->setAttribute("x",getScreenX());
bounds->setAttribute("y",getScreenY());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment