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 { } else {
sourceEncoding = unit->realEncoding(); sourceEncoding = unit->realEncoding();
} }
if (sourceEncoding==ENCODING_SYSTEM_DEFAULT)
sourceEncoding = defaultSystemEncoding;
if (sourceEncoding!=targetEncoding) { if (sourceEncoding!=targetEncoding) {
encodingStr = QString(" -finput-charset=%1 -fexec-charset=%2") encodingStr = QString(" -finput-charset=%1 -fexec-charset=%2")

View File

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