summaryrefslogtreecommitdiff
path: root/noncore/net/ubrowser/httpfactory.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/ubrowser/httpfactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/ubrowser/httpfactory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/ubrowser/httpfactory.cpp b/noncore/net/ubrowser/httpfactory.cpp
index 0586e96..4ace4cb 100644
--- a/noncore/net/ubrowser/httpfactory.cpp
+++ b/noncore/net/ubrowser/httpfactory.cpp
@@ -223,6 +223,11 @@ const QByteArray HttpFactory::processResponse( int sockfd, bool &isText ) const
{
isText = true;
printf( "HttpFactory::processResponse: content type text\n" );
+ if( currentLine.contains( "html", false ) )
+ {
+ browser->setTextFormat(Qt::RichText);
+ printf( "HttpFactory::processResponse: content type html\n" );
+ }
}
if( currentLine.contains( "Content-Type: image", false ) >= 1 )