From eaa51fec106463800192924168eaf9f03f188655 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 7 Sep 2010 08:20:52 +0000 Subject: * Fix FTBFS on Slackware * Added a few Chakra project patches; more are coming shortly git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1172412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/kwebdesktop/kwebdesktop.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kdesktop') diff --git a/kdesktop/kwebdesktop/kwebdesktop.cpp b/kdesktop/kwebdesktop/kwebdesktop.cpp index 7d5897ac7..e0e6ab322 100644 --- a/kdesktop/kwebdesktop/kwebdesktop.cpp +++ b/kdesktop/kwebdesktop/kwebdesktop.cpp @@ -160,7 +160,9 @@ KParts::ReadOnlyPart* KWebDesktop::createPart( const TQString& mimeType ) htmlPart->setMetaRefreshEnabled(false); htmlPart->setJScriptEnabled(false); htmlPart->setJavaEnabled(false); + htmlPart->setPluginsEnabled(false); + ((TQScrollView *)htmlPart->widget())->setFrameStyle( TQFrame::NoFrame ); ((TQScrollView *)htmlPart->widget())->setHScrollBarMode( TQScrollView::AlwaysOff ); ((TQScrollView *)htmlPart->widget())->setVScrollBarMode( TQScrollView::AlwaysOff ); -- cgit v1.2.1