- fix: Tips for problem is not correctly displayed.

This commit is contained in:
Roy Qu 2023-07-05 11:21:20 +08:00
parent 56f03a52d5
commit eccdf68a60
3 changed files with 4 additions and 4 deletions

View File

@ -29,6 +29,7 @@ Red Panda C++ Version 2.23
- fix: Inherited class/struct members are not correctly shown in the completion suggestions. - fix: Inherited class/struct members are not correctly shown in the completion suggestions.
- enhancement: Sort symbols by their declaration pos in the Class Browser, if not sort by alpha order. - enhancement: Sort symbols by their declaration pos in the Class Browser, if not sort by alpha order.
- fix: Keyword asm is not correctly parsed. - fix: Keyword asm is not correctly parsed.
- fix: Tips for problem is not correctly displayed.
Red Panda C++ Version 2.22 Red Panda C++ Version 2.22

View File

@ -515,7 +515,7 @@
<enum>QTabWidget::West</enum> <enum>QTabWidget::West</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>4</number>
</property> </property>
<property name="usesScrollButtons"> <property name="usesScrollButtons">
<bool>true</bool> <bool>true</bool>
@ -965,7 +965,7 @@
<enum>QTabWidget::South</enum> <enum>QTabWidget::South</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>2</number> <number>6</number>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>

View File

@ -456,8 +456,7 @@ QString OJProblemModel::getTooltip()
QString s; QString s;
s=QString("<h3>%1</h3>").arg(mProblem->name); s=QString("<h3>%1</h3>").arg(mProblem->name);
if (!mProblem->description.isEmpty()) if (!mProblem->description.isEmpty())
s+=QString("<p>%1</p>") s+=mProblem->description;
.arg(mProblem->description);
return s; return s;
} }