|
|
|
@ -676,13 +676,13 @@ TQPixmap MyMoneyAccount::accountPixmap(bool reconcileFlag, int size) const
|
|
|
|
|
TQPixmap result = DesktopIcon(icon, size);
|
|
|
|
|
if(isClosed()) {
|
|
|
|
|
TQPixmap ovly = DesktopIcon("account-types_closed", size);
|
|
|
|
|
bitBlt(TQT_TQPAINTDEVICE(&result), 0, 0, TQT_TQPAINTDEVICE(&ovly), 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
bitBlt(&result, 0, 0, &ovly, 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
} else if(reconcileFlag) {
|
|
|
|
|
TQPixmap ovly = DesktopIcon("account-types_reconcile.png", size);
|
|
|
|
|
bitBlt(TQT_TQPAINTDEVICE(&result), 0, 0, TQT_TQPAINTDEVICE(&ovly), 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
bitBlt(&result, 0, 0, &ovly, 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
} else if(!onlineBankingSettings().value("provider").isEmpty()) {
|
|
|
|
|
TQPixmap ovly = DesktopIcon("account-types_online.png", size);
|
|
|
|
|
bitBlt(TQT_TQPAINTDEVICE(&result), 0, 0, TQT_TQPAINTDEVICE(&ovly), 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
bitBlt(&result, 0, 0, &ovly, 0, 0, ovly.width(), ovly.height(), TQt::CopyROP, false);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|