UByteArray integrated

- another Qt class can be replaced for non-Qt builds
This commit is contained in:
Nikolaj Schlej 2016-07-05 17:22:03 +02:00
parent 804a55ba64
commit 71ba5fe582
10 changed files with 56 additions and 28 deletions

View file

@ -48,9 +48,11 @@ int main(int argc, char *argv[])
return U_FILE_OPEN;
// Read and close the file
UByteArray buffer = inputFile.readAll();
QByteArray b = inputFile.readAll();
inputFile.close();
UByteArray buffer(b.constData(), b.size());
// Create model and ffsParser
TreeModel model;
FfsParser ffsParser(&model);