[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kchart/shape
From: Johannes Simon <johannes.simon () gmail ! com>
Date: 2010-04-14 20:37:08
Message-ID: 20100414203708.B911BAC89C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1114901 by jsimon:
Use Qt::NoPen when no pen is loaded
M +4 -4 Surface.cpp
--- trunk/koffice/kchart/shape/Surface.cpp #1114900:1114901
@@ -172,11 +172,11 @@
frameAttributes.setVisible( true );
QString stroke = styleStack.property( KoXmlNS::draw, "stroke" );
- if ( stroke == "solid" || stroke == "dash" ) {
- QPen pen = KoOdfGraphicStyles::loadOdfStrokeStyle( styleStack, \
stroke, context.odfLoadingContext().stylesReader() ); + QPen pen( \
Qt::NoPen ); + if ( stroke == "solid" || stroke == "dash" )
+ pen = KoOdfGraphicStyles::loadOdfStrokeStyle( styleStack, stroke, \
context.odfLoadingContext().stylesReader() );
- frameAttributes.setPen( pen );
- }
+ frameAttributes.setPen( pen );
}
// If there is a "fill" property, then get the fill style, and
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic