Skip to content

Conversation

@zonkmachine
Copy link
Contributor

Fixes #2902

Something like this?

@zonkmachine
Copy link
Contributor Author

The other option is to fix it in AudioFileDevice.cpp
Add "GuiApplication.h" as suggested in #2902 printf something and EXIT_FAILURE when no gui. Both works just fine.

@zonkmachine
Copy link
Contributor Author

Pushed method two on a separate commit for comparison. I vote no. 2

message = ExportProjectDialog::tr( "Could not open file %1 "
"for writing.\nPlease make "
"sure you have write-"
"permission to the file and "
Copy link
Contributor Author

Choose a reason for hiding this comment

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

write-permission?

-> write permission

@zonkmachine
Copy link
Contributor Author

Settled for no.2 . Done... 🚂

}
else
{
printf( "%s\n", message.toUtf8().constData() );
Copy link
Member

Choose a reason for hiding this comment

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

fprintf( stderr, "%s\n",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

Copy link
Member

@jasp00 jasp00 left a comment

Choose a reason for hiding this comment

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

Code looks fine.

@zonkmachine
Copy link
Contributor Author

Thanks! Merge...

@zonkmachine zonkmachine merged commit e40a6bc into LMMS:master Feb 4, 2017
@zonkmachine zonkmachine deleted the renderdirpermission branch February 4, 2017 18:04
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
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.

3 participants