mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-260 Remove @Ref tags in the tooltips, thanks for pointing this out.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2380 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
9e0728d0fa
commit
c6e99a5c4f
@ -57,6 +57,7 @@ public:
|
|||||||
void setDescription(QString d) { // Split around 40 characters
|
void setDescription(QString d) { // Split around 40 characters
|
||||||
int idx = d.indexOf(" ",40);
|
int idx = d.indexOf(" ",40);
|
||||||
d.insert(idx,QString("<br>"));
|
d.insert(idx,QString("<br>"));
|
||||||
|
d.remove("@Ref", Qt::CaseInsensitive);
|
||||||
m_description = d;
|
m_description = d;
|
||||||
}
|
}
|
||||||
// only column 1 (TreeItem::dataColumn) is changed with setData currently
|
// only column 1 (TreeItem::dataColumn) is changed with setData currently
|
||||||
|
Loading…
x
Reference in New Issue
Block a user