[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kviewshell-0.7/kviewshell/shell
From: Stefan Kebekus <kebekus () kde ! org>
Date: 2006-11-07 7:31:04
Message-ID: 1162884664.510708.25380.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 602902 by kebekus:
fixes problem in presentation mode on displayed where horizontal and vertical \
resolutions are not equal (e.g., some Apple displays)
M +2 -3 presentationwidget.cpp
--- branches/work/kviewshell-0.7/kviewshell/shell/presentationwidget.cpp \
#602901:602902 @@ -62,7 +62,6 @@
// show widget and take control
showFullScreen();
- kdDebug() << "PresentationWidget() finished" << endl;
}
PresentationWidget::~PresentationWidget()
@@ -467,9 +466,9 @@
zoomHeight = pageSize.zoomForHeight(m_height, dpix);
}
- double zoom = QMIN(zoomWidth, zoomHeight);
+ double resolution = QMIN(zoomWidth*dpix, zoomHeight*dpiy);
- dataModel->setResolution(dpix * zoom);
+ dataModel->setResolution(resolution);
RenderedDocumentPagePixmap* pageData = m_cache->getPage(frame->page, false);
// Prerender the previous and next pages in the rendering thread.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic