phoneuis/bubblemanager2/bubblecore/src/bubbleutils.cpp
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
   264     HbIconItem& icon)
   264     HbIconItem& icon)
   265 {
   265 {
   266     if ( (( callState == BubbleManagerIF::Incoming ) ||
   266     if ( (( callState == BubbleManagerIF::Incoming ) ||
   267           ( callState == BubbleManagerIF::Waiting )) &&
   267           ( callState == BubbleManagerIF::Waiting )) &&
   268          (callFlags & BubbleManagerIF::Diverted) ) {
   268          (callFlags & BubbleManagerIF::Diverted) ) {
   269         icon.setIcon( HbIcon(":/qtg_mono_call_diverted.svg") );
   269         icon.setIcon( HbIcon("qtg_mono_call_diverted") );
   270 
       
   271         // temporary, diverted icon is not yet in theme and
       
   272         // because of that css coloring doesn't work
       
   273         QColor color;
       
   274         color = HbColorScheme::color("qtc_list_item_title_normal");
       
   275         if (color.isValid()) {
       
   276             icon.setColor(Qt::white);
       
   277         }
       
   278 
       
   279         icon.show();
   270         icon.show();
   280     } else {
   271     } else {
   281         icon.setIcon( HbIcon() );
   272         icon.setIcon( HbIcon() );
   282         icon.hide();
   273         icon.hide();
   283     }
   274     }