diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-03 18:33:12 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-03 18:45:48 +0200 |
commit | fa330c109dcf3399b5fdc27b188c0bafbb6e6016 (patch) | |
tree | e9e96d7f507404e4936ef681f03630aa1e3affae /utils/themeeditor/gui/projectexporter.cpp | |
parent | ff38666a19b09169b1a7cf1f0eda20374bc390de (diff) | |
download | rockbox-fa330c109dcf3399b5fdc27b188c0bafbb6e6016.tar.gz rockbox-fa330c109dcf3399b5fdc27b188c0bafbb6e6016.zip |
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
Diffstat (limited to 'utils/themeeditor/gui/projectexporter.cpp')
-rw-r--r-- | utils/themeeditor/gui/projectexporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/themeeditor/gui/projectexporter.cpp b/utils/themeeditor/gui/projectexporter.cpp index 35fa90d060..ae47758dcf 100644 --- a/utils/themeeditor/gui/projectexporter.cpp +++ b/utils/themeeditor/gui/projectexporter.cpp | |||
@@ -204,7 +204,7 @@ void ProjectExporter::checkWPS(ProjectModel* project, QString file) | |||
204 | fin.close(); | 204 | fin.close(); |
205 | 205 | ||
206 | skin_element* root; | 206 | skin_element* root; |
207 | root = skin_parse(contents.toAscii()); | 207 | root = skin_parse(contents.toLatin1()); |
208 | if(!root) | 208 | if(!root) |
209 | { | 209 | { |
210 | addWarning(tr("Couldn't parse ") + file.split("/").last()); | 210 | addWarning(tr("Couldn't parse ") + file.split("/").last()); |