summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/gui/editorwindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-03 18:33:12 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-03 18:45:48 +0200
commitfa330c109dcf3399b5fdc27b188c0bafbb6e6016 (patch)
treee9e96d7f507404e4936ef681f03630aa1e3affae /utils/themeeditor/gui/editorwindow.cpp
parentff38666a19b09169b1a7cf1f0eda20374bc390de (diff)
downloadrockbox-fa330c109dcf3399b5fdc27b188c0bafbb6e6016.tar.gz
rockbox-fa330c109dcf3399b5fdc27b188c0bafbb6e6016.tar.bz2
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/editorwindow.cpp')
-rw-r--r--utils/themeeditor/gui/editorwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/themeeditor/gui/editorwindow.cpp b/utils/themeeditor/gui/editorwindow.cpp
index 71b0c07405..89c9d670aa 100644
--- a/utils/themeeditor/gui/editorwindow.cpp
+++ b/utils/themeeditor/gui/editorwindow.cpp
@@ -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();
}