[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/kviewshell/shell
From:       Wilfried Huss <Wilfried.Huss () gmx ! at>
Date:       2006-11-12 16:51:23
Message-ID: 1163350283.787366.23743.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 604372 by whuss:

port of commit 602779:

The thumbnail prerendering is now handled directly by the MarkList.

 M  +0 -11     documentPageCache.cpp  


--- trunk/KDE/kdegraphics/kviewshell/shell/documentPageCache.cpp #604371:604372
@@ -117,17 +117,6 @@
 {
   PageNumber currentPage = dataModel->currentPageNumber();
 
-  if (currentThumbnailWidth != 0 && dataModel->preferences()->showThumbnails())
-  {
-    // Prerender previous thumbnail
-    prerenderThumbnail(currentPage - 1, currentThumbnailWidth);
-    // Prerender next thumbnail
-    prerenderThumbnail(currentPage + 1, currentThumbnailWidth);
-
-    // We add the thumbnail of the current page at last, so that it will rendered first.
-    prerenderThumbnail(currentPage, currentThumbnailWidth);
-  }
-
   // In continuous facing viewmode prerender the previous 3 and following 3 pages.
   // In the other viewmodes prerender only the previous page and the following page.
   int k = 1;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic