summaryrefslogtreecommitdiffstats
path: root/kdesktop/kwebdesktop/kwebdesktop.cpp
diff options
context:
space:
mode:
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 );