Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #117901: support #include, change #define behavior, support <global> #2736

Merged
merged 1 commit into from
Jul 16, 2016

Conversation

hpfmn
Copy link
Contributor

@hpfmn hpfmn commented Jul 11, 2016

for more information see https://musescore.org/en/node/117901

f = newFile;
if (!f->open(QIODevice::ReadOnly)) {
qDebug("ZInstrument: cannot load %s", qPrintable(path + "/" + newFilename));
return false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f is not deleted here right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete f; ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here better not (there could be more on the stack)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or better something that actually cleans the stack

@hpfmn hpfmn force-pushed the ZerberusIncludeGlobal branch 3 times, most recently from 7659d96 to 8a64c55 Compare July 13, 2016 12:19
@@ -16,6 +16,7 @@
#include <QFileInfo>
#include <QStringList>
#include <sndfile.h>
#include <stack>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the stack is not used right?

@lasconic lasconic merged commit 24cf620 into musescore:master Jul 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants