mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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>
This commit is contained in:
parent
9285aa620d
commit
6b43fd393f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86351
20
x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp
Normal file
20
x11/kdelibs3/files/patch-khtml::rendering::render_root.cpp
Normal file
@ -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() );
|
||||
}
|
20
x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp
Normal file
20
x11/kdelibs4/files/patch-khtml::rendering::render_root.cpp
Normal file
@ -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() );
|
||||
}
|
Loading…
Reference in New Issue
Block a user