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

List:       kde-core-devel
Subject:    [patch] konqi crash
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2005-02-24 12:55:59
Message-ID: 200502241356.04423.m.koller () surfeu ! at
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


I had a crash in konqi and submitted
http://bugs.kde.org/show_bug.cgi?id=100158

Probably the following patch should be applied.

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

       Some operating systems are called 'user friendly',
             Linux however is 'expert friendly'.

["kfileivi.patch" (text/x-diff)]

Index: kfileivi.cc
===================================================================
RCS file: /home/kde/kdebase/libkonq/kfileivi.cc,v
retrieving revision 1.85
diff -u -3 -p -r1.85 kfileivi.cc
--- kfileivi.cc	12 Apr 2004 17:36:02 -0000	1.85
+++ kfileivi.cc	24 Feb 2005 12:53:54 -0000
@@ -452,7 +452,7 @@ void KFileIVI::updatePixmapSize()
 
     KonqIconViewWidget* view = static_cast<KonqIconViewWidget*>( iconView() );
 
-    if ( view->canPreview( item() ) ) {
+    if ( view && view->canPreview( item() ) ) {
         int previewSize = view->previewIconSize( size );
         setPixmapSize( QSize( previewSize, previewSize ) );
     }

[Attachment #6 (application/pgp-signature)]

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

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