Skip to content

Commit

Permalink
Fix broken MIDI import
Browse files Browse the repository at this point in the history
Fix a regression in 3e538d5 (#4401) that
readAllData doesn't read the file from the beginning
  • Loading branch information
PhysSong committed Jul 27, 2018
1 parent 45d3359 commit 112d342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ImportFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class EXPORT ImportFilter : public Plugin

inline QByteArray readAllData()
{
m_file.seek(0);
return m_file.readAll();
}

Expand Down

0 comments on commit 112d342

Please sign in to comment.