summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-08-05 16:49:00 +0000
committerarved <arved@FreeBSD.org>2003-08-05 16:49:00 +0000
commit5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d (patch)
treec39bef0e3c644c17d9970336cd62260967506ec8 /x11
parent9937ed2dce491eb00590ff8e0dac495f981bbc8b (diff)
downloadFreeBSD-ports-5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d.zip
FreeBSD-ports-5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d.tar.gz
Patch to fix the "horizontal toolbars on every page" bug
Obtained from: KDE Tested by: Lauri Watts <lauri@kde.org>, Andy Fawcett <andy@athame.co.uk>, Michael Collette <metrol@metrol.net>, Neil Stevens <neil@qualityassistant.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp20
-rw-r--r--x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp20
2 files changed, 40 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp b/x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp
new file mode 100644
index 0000000..47adcce
--- /dev/null
+++ b/x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp
@@ -0,0 +1,20 @@
+--- khtml/rendering/render_root.cpp 16 Jul 2003 00:13:32 -0000 1.116.2.3
++++ khtml/rendering/render_root.cpp 2 Aug 2003 21:28:49 -0000 1.116.2.4
+@@ -118,7 +118,7 @@ void RenderRoot::layout()
+ #endif
+ if (!m_printingMode) {
+ QSize s = m_view->viewportSize(m_view->contentsWidth(),
+- 0);
++ m_view->contentsHeight());
+ m_width = s.width();
+ m_height = s.height();
+ }
+@@ -132,7 +132,7 @@ void RenderRoot::layout()
+ if (!m_printingMode) {
+ m_view->resizeContents(docWidth(), docHeight());
+ QSize s = m_view->viewportSize(m_view->contentsWidth(),
+- m_view->contentsHeight());
++ 0);
+ setWidth( m_viewportWidth = s.width() );
+ setHeight( m_viewportHeight = s.height() );
+ }
diff --git a/x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp b/x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp
new file mode 100644
index 0000000..47adcce
--- /dev/null
+++ b/x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp
@@ -0,0 +1,20 @@
+--- khtml/rendering/render_root.cpp 16 Jul 2003 00:13:32 -0000 1.116.2.3
++++ khtml/rendering/render_root.cpp 2 Aug 2003 21:28:49 -0000 1.116.2.4
+@@ -118,7 +118,7 @@ void RenderRoot::layout()
+ #endif
+ if (!m_printingMode) {
+ QSize s = m_view->viewportSize(m_view->contentsWidth(),
+- 0);
++ m_view->contentsHeight());
+ m_width = s.width();
+ m_height = s.height();
+ }
+@@ -132,7 +132,7 @@ void RenderRoot::layout()
+ if (!m_printingMode) {
+ m_view->resizeContents(docWidth(), docHeight());
+ QSize s = m_view->viewportSize(m_view->contentsWidth(),
+- m_view->contentsHeight());
++ 0);
+ setWidth( m_viewportWidth = s.width() );
+ setHeight( m_viewportHeight = s.height() );
+ }
OpenPOWER on IntegriCloud