1
0
Fork 0
forked from len0rd/rockbox

themeeditor: Make it compile with current Qt5.

- Replace use of obsolete members with their replacements.
- Fix type issue that requires explicitly creating the right object now.
- Update project file to work with Qt5.

Change-Id: I3af2b1520796e977e58c0a01e165c77c469a23b9
This commit is contained in:
Dominik Riebeling 2020-09-03 18:33:12 +02:00
parent ff38666a19
commit fa330c109d
10 changed files with 35 additions and 35 deletions

View file

@ -874,7 +874,7 @@ void EditorWindow::createFile(QString filename, QString contents)
QFile fout(filename);
fout.open(QFile::WriteOnly);
fout.write(contents.toAscii());
fout.write(contents.toLatin1());
fout.close();
}