Fix broken MIDI import

Fix a regression in 3e538d510c (#4401) that
readAllData doesn't read the file from the beginning
This commit is contained in:
Hyunin Song
2018-07-27 15:48:58 +09:00
parent 45d3359e21
commit 112d34226a

View File

@@ -80,6 +80,7 @@ protected:
inline QByteArray readAllData()
{
m_file.seek(0);
return m_file.readAll();
}