1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

Fix build with clang7.

PR:		230941
Reported by:	jbeich
This commit is contained in:
Adriaan de Groot 2018-08-30 09:57:20 +00:00
parent 3bce3e0928
commit f50362b4fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478439

View File

@ -0,0 +1,11 @@
--- korganizer/kodaymatrix.cpp.orig 2018-08-30 09:44:00 UTC
+++ korganizer/kodaymatrix.cpp
@@ -862,7 +862,7 @@ void KODayMatrix::paintEvent( QPaintEven
p.setPen( actcol );
}
// reset bold font to plain font
- if ( mEvents.contains( mDays[i] ) > 0 ) {
+ if ( mEvents.contains( mDays[i] ) ) {
QFont myFont = font();
myFont.setBold( false );
p.setFont( myFont );