Summary: | statusbar shows <qt> in kontact | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | George Staikos <staikos> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sven.burmeister |
Priority: | NOR | ||
Version: | cvs | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
George Staikos
2004-12-06 08:43:19 UTC
Seems fixed. Can anyone still reproduce that? On Friday 07 January 2005 16:25, Frank Osterfeld wrote:
> 22:25 ------- Seems fixed. Can anyone still reproduce that?
I still can reproduce it.
*** Bug 97175 has been marked as a duplicate of this bug. *** It's still there as of today. CVS commit by johnflux: Fixed Bug 94525: statusbar shows <qt> in kontact The problem is konqueror uses a QLabel to put its statusbar messages into and so uses "<qt>". But QStatusBar::message() (and KMessageBar::message() ) does not support rich text statusmessages. This fix just strips out the tags returned from khtml. BUG:94525 M +3 -1 frame.cpp 1.11 CVS commit by osterfeld: backport of #94525 fix (<qt> in kontact statusbar) by johnflux CCBUG:94525 M +4 -1 frame.cpp 1.10.6.1 --- kdepim/akregator/src/frame.cpp #1.10:1.10.6.1 @@ -6,4 +6,6 @@ ***************************************************************************/ +#include <qregexp.h> + #include <kactioncollection.h> #include <kdebug.h> @@ -90,5 +92,6 @@ void Frame::setStatusText(const QString { m_statusText=s; - emit statusText(s); + m_statusText.replace(QRegExp("<[^>]*>"), ""); + emit statusText(m_statusText); } |