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

List:       koffice-devel
Subject:    [PATCH] fix file preview
From:       Toshitaka Fujioka <toshitaka () kde ! gr ! jp>
Date:       2002-08-14 4:41:01
[Download RAW message or body]

Hello,
This patch fix repaint problem of file preview.
e.g. select 1.png next select 2.png. Does not repaint Preview Widget.

Please review.

PS: I found critical bug of koffice. If I load file(including embedded
     document), cursor is always wait cursor. Can anyone fix this bug ?

Thank you.
-- 
Toshitaka Fujioka
http://www.kde.org                The K Desktop Environment Project
                                                    fujioka@kde.org
http://www.kde.gr.jp               Japan KDE User's Group
                                                    toshitaka@kde.gr.jp

-- A journey of a thousand miles must begin with a single step.  Lao-zi --  


[" " (text/x-diff)]

diff -ur koffice.orig/lib/kofficeui/koPictureFilePreview.cc koffice/lib/kofficeui/koPictureFilePreview.cc
--- koffice.orig/lib/kofficeui/koPictureFilePreview.cc	Sun Aug  4 00:17:26 2002
+++ koffice/lib/kofficeui/koPictureFilePreview.cc	Wed Aug 14 13:13:46 2002
@@ -52,7 +52,7 @@
             m_size = picture.getOriginalSize();
             m_picture = picture;
             resizeContents( m_size.width(), m_size.height() );
-            repaint( false );
+            repaintContents();
             return true;
         }
         else

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

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

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