diff options
author | arved <arved@FreeBSD.org> | 2003-08-06 00:49:00 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-08-06 00:49:00 +0800 |
commit | 5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d (patch) | |
tree | c39bef0e3c644c17d9970336cd62260967506ec8 /x11 | |
parent | 9937ed2dce491eb00590ff8e0dac495f981bbc8b (diff) | |
download | freebsd-ports-gnome-5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d.tar.gz freebsd-ports-gnome-5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d.tar.zst freebsd-ports-gnome-5727d3d8cac93884e6f8b0f2bdf49b7a8800ac1d.zip |
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.cpp | 20 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp | 20 |
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 000000000000..47adcce7ba0a --- /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 000000000000..47adcce7ba0a --- /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() ); + } |