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

List:       kde-commits
Subject:    koffice/karbon/widgets
From:       Tomislav Lukman <tomislav.lukman () ck ! t-com ! hr>
Date:       2005-02-28 22:29:03
Message-ID: 20050228222903.E85411487A () office ! kde ! org
[Download RAW message or body]

CVS commit by lukman: 

Similar thing caused vsmallpreview widget to chrash. This is just a precaution (most \
of this code was copied to vsmallpreview when it was first built).


  M +2 -2      vstrokefillpreview.cc   1.54


--- koffice/karbon/widgets/vstrokefillpreview.cc  #1.53:1.54
@@ -223,5 +223,5 @@ VStrokeFillPreview::drawFill( const VFil
                                 }
                         }
-                        else
+                        if( f.type() == VFill::patt )
                         {
                                 fill.pattern() = f.pattern();
@@ -318,5 +318,5 @@ VStrokeFillPreview::drawStroke( const VS
                                 fill.setType( VFill::grad );
                         }
-                        else
+                        if( s.type() == VStroke::patt )
                         {
                                 fill.pattern() = s.pattern();


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

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