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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/ImportFilter.h

+1
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)