QPIConfig file write fix
This commit is contained in:
@@ -606,6 +606,10 @@ void QPIConfig::writeAll() {
|
||||
stream.setString(buffer);
|
||||
buffer->clear();
|
||||
}
|
||||
#if QT_VERSION_MAJOR <= 5
|
||||
if (!codec.isEmpty())
|
||||
stream.setCodec(codec.toLatin1().data());
|
||||
#endif
|
||||
stream.seek(0);
|
||||
buildFullNames(&root);
|
||||
Branch b = allLeaves();
|
||||
|
||||
Reference in New Issue
Block a user