From kde-commits Sat Aug 01 18:13:21 2009 From: Martin Koller Date: Sat, 01 Aug 2009 18:13:21 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/applets/tasks Message-Id: <1249150401.096554.19640.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=124915044521717 SVN commit 1005669 by mkoller: escape the window title text in tooltip so that HTML tags inside it are not rendered as HTML. (same problem as #52223) M +2 -1 windowtaskitem.cpp --- trunk/KDE/kdebase/workspace/plasma/applets/tasks/windowtaskitem.cpp #1005668:1005669 @@ -29,6 +29,7 @@ #include #include #include +#include // KDE #include @@ -211,7 +212,7 @@ Qt::KeepAspectRatio, Qt::SmoothTransformation); } - Plasma::ToolTipContent data(m_task->name(), + Plasma::ToolTipContent data(Qt::escape(m_task->name()), i18nc("Which virtual desktop a window is currently on", "On %1", KWindowSystem::desktopName(m_task->desktop())), p); data.setWindowToPreview(m_task->task()->window());