[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/kioslave/man
From:       David Faure <faure () kde ! org>
Date:       2011-01-13 13:02:36
Message-ID: 20110113130236.6B3FBAC8B3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214198 by dfaure:

Fix kmanpart so that KHTML actually parses the output as HTML rather than as plain text.


 M  +5 -0      kmanpart.cpp  


--- trunk/KDE/kdebase/runtime/kioslave/man/kmanpart.cpp #1214197:1214198
@@ -47,6 +47,11 @@
 
 bool KManPart::openUrl( const KUrl &url )
 {
+   // KHTML would detect text/plain, but we are going to write HTML to it.
+   KParts::OpenUrlArguments args(arguments());
+   args.setMimeType("text/html");
+   setArguments(args);
+
    return KParts::ReadOnlyPart::openUrl(url);
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic