minor change

This commit is contained in:
Roy Qu 2023-03-27 08:41:12 +08:00
parent cd17c7cbca
commit 5f1aa5f620
2 changed files with 3 additions and 1 deletions

View File

@ -457,6 +457,8 @@ void ProjectCompiler::writeMakeObjFilesRules(QFile &file)
} else {
sourceEncoding = unit->realEncoding();
}
if (sourceEncoding==ENCODING_SYSTEM_DEFAULT)
sourceEncoding = defaultSystemEncoding;
if (sourceEncoding!=targetEncoding) {
encodingStr = QString(" -finput-charset=%1 -fexec-charset=%2")

View File

@ -192,7 +192,7 @@
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>QListView::Fixed</enum>