Skip to content

fixed sampler bank file dialog export#443

Merged
kain88-de merged 5 commits intomixxxdj:masterfrom
midzer:sample_bank_file_dialog
Feb 20, 2015
Merged

fixed sampler bank file dialog export#443
kain88-de merged 5 commits intomixxxdj:masterfrom
midzer:sample_bank_file_dialog

Conversation

@midzer
Copy link
Copy Markdown
Contributor

@midzer midzer commented Dec 30, 2014

https://bugs.launchpad.net/mixxx/+bug/1403223

Although i did not find the dialog in question, i realized it is the same issue with QFileDialog under Linux as #430

I am unsure whether bug occurs under same environment in void SamplerBank::slotLoadSamplerBank() as well. Might need further attention.

@kain88-de
Copy link
Copy Markdown
Member

Which version of Qt are you using?

Since they say in the bug-report that it is fixed for qt 5.x it would be nice that you add a comment. Then we can remove it after we switched to qt 5.

@midzer
Copy link
Copy Markdown
Contributor Author

midzer commented Jan 10, 2015

just added the comment as suggested by @kain88-de

Comment thread src/samplerbank.cpp
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is enough to check for isEmpty with a string.

@midzer
Copy link
Copy Markdown
Contributor Author

midzer commented Feb 17, 2015

@kain88-de I removed unnecessary check and hope intendation is fixed now.

Comment thread src/samplerbank.cpp Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

extrem nitpicking mode

line 45 and 46 contain tabs and the closing } is not intened correctly. Could you change that as well.

I'm not sure which editor you use. But assuming vim and you have defined tabs as 4 space characters you can use 'retab' to remove the tabs. To fix the indentation in an automated way use mark all lines of the if statement and hit =.

@midzer
Copy link
Copy Markdown
Contributor Author

midzer commented Feb 18, 2015

@kain88-de next try. i disabled tab intendation in Eclipse now.

kain88-de added a commit that referenced this pull request Feb 20, 2015
fixed sampler bank file dialog export
@kain88-de kain88-de merged commit 2f98ee9 into mixxxdj:master Feb 20, 2015
@kain88-de
Copy link
Copy Markdown
Member

Yes it looks good now. Thanks

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.

2 participants