[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:24 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=5f87c64

The following commit has been merged in the master branch:
commit 5f87c642593033584fff7002be794b16377419a9
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Mon Aug 13 14:00:07 2012 +0100

    Make sure all image previews are on a new line.
    
    BUG: 305076
    Reviewed-by: Martin Klapetek
---
 filters/images/images-filter.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/filters/images/images-filter.cpp b/filters/images/images-filter.cpp
index c0a6cfe..54bc4e6 100644
--- a/filters/images/images-filter.cpp
+++ b/filters/images/images-filter.cpp
@@ -60,10 +60,10 @@ void ImagesFilter::filterMessage (Message& message)
         if (!fileName.isNull() && fileName.contains(d->imageRegex)) {
             QString href = QString::fromAscii(url.toEncoded());
             message.appendMessagePart(
-                QLatin1Literal("<a href='") % href % QLatin1Literal("'>") %
+                QLatin1Literal("<br/><a href='") % href % QLatin1Literal("'>") %
                     QLatin1Literal("<img src='") %
                     href %
-                    QLatin1Literal("' style='max-width:100%;' alt='") %
+                    QLatin1Literal("' style='max-width:100%;margin-top:3px' alt='") %
                     i18n("Click to view in browser") %
                     QLatin1Literal("' />") %
                 QLatin1Literal("</a>")
@@ -73,4 +73,4 @@ void ImagesFilter::filterMessage (Message& message)
 }
 
 K_PLUGIN_FACTORY(MessageFilterFactory, registerPlugin<ImagesFilter>();)
-K_EXPORT_PLUGIN(MessageFilterFactory("ktptextui_message_filter_images"))
\ No newline at end of file
+K_EXPORT_PLUGIN(MessageFilterFactory("ktptextui_message_filter_images"))

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list