work save

This commit is contained in:
royqh1979@gmail.com 2021-10-03 14:06:32 +08:00
parent d58e2ac54e
commit 67850cfe48
2 changed files with 12 additions and 2 deletions

View File

@ -288,7 +288,7 @@
<enum>QTabWidget::South</enum>
</property>
<property name="currentIndex">
<number>2</number>
<number>4</number>
</property>
<widget class="QWidget" name="tabIssues">
<attribute name="icon">
@ -806,6 +806,16 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tabTodo">
<attribute name="title">
<string>TODO</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QTableView" name="tblTodo"/>
</item>
</layout>
</widget>
</widget>
</widget>
</item>

View File

@ -230,7 +230,7 @@ void SynEditStringList::setContents(const QStringList &text)
QStringList SynEditStringList::contents()
{
QStringList Result;
for (PSynEditStringRec& line:mList) {
foreach (const PSynEditStringRec& line, mList) {
Result.append(line->fString);
}
return Result;