summaryrefslogtreecommitdiffstats
path: root/kdesktop/kwebdesktop/kwebdesktop.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 08:20:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 08:20:52 +0000
commiteaa51fec106463800192924168eaf9f03f188655 (patch)
tree708c69190d963a9e8b471a157ab91fab2b9e7d88 /kdesktop/kwebdesktop/kwebdesktop.cpp
parent4c1ea1ee0d11f4074d0ddd5efebfc49c2e1e711c (diff)
downloadtdebase-eaa51fec106463800192924168eaf9f03f188655.tar.gz
tdebase-eaa51fec106463800192924168eaf9f03f188655.zip
* 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
Diffstat (limited to 'kdesktop/kwebdesktop/kwebdesktop.cpp')
-rw-r--r--kdesktop/kwebdesktop/kwebdesktop.cpp2
1 files changed, 2 insertions, 0 deletions
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 );