[marble] [Bug 360918] There are no line breaks in the placemark description

2016-04-16 Thread Dennis Nienhüser via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360918

Dennis Nienhüser  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
 CC||nienhue...@kde.org

--- Comment #2 from Dennis Nienhüser  ---
See https://forum.kde.org/viewtopic.php?f=217&t=131357#p354450

The description is interpreted as html, so newlines need to be indicated using
 or similar html tags.

We could introduce some heuristic detection of plain text versus rich text and
transform plain text with '\n' into rich text with '' tags, but I don't
see the need for this really. Please reopen if you have a use-case.

-- 
You are receiving this mail because:
You are watching all bug changes.

[marble] [Bug 360918] There are no line breaks in the placemark description

2016-03-29 Thread strag via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360918

--- Comment #1 from strag  ---
I seem to have solved the problem. The placemark description is displayed using
HTML. To preserve the original text formatting should be added the tags 
and :

QString text = ""; //added tag 
text += "string 1, \n";
text += "string 2, \n";
text += "string 3 \n";
text += "";  //added tag 

As I understand it, it is necessary to add a "framing" of text by tags to
function setDescription(QString). I never participated in opensource projects,
so maybe someone can fix it before I'll understand how it's done.

-- 
You are receiving this mail because:
You are watching all bug changes.