Skip to content

Commit 112d342

Browse files
committed
Fix broken MIDI import
Fix a regression in 3e538d5 (#4401) that readAllData doesn't read the file from the beginning
1 parent 45d3359 commit 112d342

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/ImportFilter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class EXPORT ImportFilter : public Plugin
8080

8181
inline QByteArray readAllData()
8282
{
83+
m_file.seek(0);
8384
return m_file.readAll();
8485
}
8586

0 commit comments

Comments
 (0)