Respect build options in export dialogs (#3714)

* Respect build options in ExportProjectDialog

* Use QItem user data instead of hard ordering to identify export format in ExportProjectDialog

* For compatibility with QVariant, ExportFileFormats is now explicitly an int.

* Don't break out of format identifier loop prematurely in Song export.
This commit is contained in:
irrenhaus3
2017-07-26 12:48:25 +02:00
committed by Hyunjin Song
parent 2464a57f3c
commit c8af34af2f
3 changed files with 33 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ class ProjectRenderer : public QThread
{
Q_OBJECT
public:
enum ExportFileFormats
enum ExportFileFormats: int
{
WaveFile,
OggFile,