Skip to content

Commit

Permalink
Fix broken MIDI import
Browse files Browse the repository at this point in the history
Fix a regression in 2dadb15 (LMMS#4401) that
readAllData doesn't read the file from the beginning
  • Loading branch information
PhysSong committed Jul 27, 2018
1 parent 80eb65d commit bc2530c
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 bc2530c

Please sign in to comment.