- 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.
- 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: Tips for problem is not correctly displayed.
Red Panda C++ Version 2.22

View File

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

View File

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