|
|
|
@ -322,9 +322,13 @@ const QPixmap *HeaderItem::pixmap(int col) const |
|
|
|
if ( !headers->mPaintInfo.showTodo ) |
|
|
|
if ( !headers->mPaintInfo.showTodo ) |
|
|
|
if ( status.isTodo() ) pixmaps << *KMHeaders::pixTodo; |
|
|
|
if ( status.isTodo() ) pixmaps << *KMHeaders::pixTodo; |
|
|
|
|
|
|
|
|
|
|
|
static QPixmap mergedpix; |
|
|
|
if ( !pixmaps.isEmpty() ) { |
|
|
|
mergedpix = pixmapMerge( pixmaps ); |
|
|
|
static QPixmap mergedpix; |
|
|
|
return &mergedpix; |
|
|
|
mergedpix = pixmapMerge( pixmaps ); |
|
|
|
|
|
|
|
return &mergedpix; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
else if ( col == headers->paintInfo()->statusCol ) { |
|
|
|
else if ( col == headers->paintInfo()->statusCol ) { |
|
|
|
return statusIcon(msgBase); |
|
|
|
return statusIcon(msgBase); |
|
|
|
|