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> <enum>QTabWidget::South</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>2</number> <number>4</number>
</property> </property>
<widget class="QWidget" name="tabIssues"> <widget class="QWidget" name="tabIssues">
<attribute name="icon"> <attribute name="icon">
@ -806,6 +806,16 @@
</item> </item>
</layout> </layout>
</widget> </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>
</widget> </widget>
</item> </item>

View File

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