[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:22:00 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=4f53125
The following commit has been merged in the master branch:
commit 4f53125d6ec00e7287dd19666082efdd4adc1d3e
Author: Lasath Fernando <kde at lasath.org>
Date: Sun Jun 17 13:26:07 2012 +1000
Fix generated tag in ImagesFilter
It wasn't closing the img tag it chucked in there before.
---
filters/images/images-filter.cpp | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/filters/images/images-filter.cpp b/filters/images/images-filter.cpp
index 0fcabbf..ae72b07 100644
--- a/filters/images/images-filter.cpp
+++ b/filters/images/images-filter.cpp
@@ -18,12 +18,13 @@
#include "images-filter.h"
+#include <QStringBuilder>
#include <QRegExp>
+#include <QImageReader>
#include <KPluginFactory>
#include <KDebug>
#include <KUrl>
-#include <QImageReader>
class ImagesFilter::Private {
public:
@@ -53,9 +54,9 @@ void ImagesFilter::filterMessage (Message& message)
if (!fileName.isNull() && fileName.contains(d->imageRegex)) {
message.appendMessagePart(
- QLatin1String("<img src='") +
- QString::fromAscii(url.toEncoded()) +
- QLatin1String("' alt='Link is of an Image'")
+ QLatin1String("<img src='") %
+ QString::fromAscii(url.toEncoded()) %
+ QLatin1String("' alt='Link is of an Image' />")
);
}
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list