Bring system icon into XDG compliance

(cherry picked from commit 11b4aed088)
r14.0.x
Timothy Pearson 10 years ago committed by Slávek Banko
parent 06299da7f7
commit ad84ef0ea5

@ -138,7 +138,7 @@ WirelessNetworkItem::paint (TQPainter *p, const TQColorGroup &/*cg*/, bool highl
} }
if (_adhoc) { if (_adhoc) {
TQPixmap pmAdHoc = SmallIcon ("system", h - (_border*2)); TQPixmap pmAdHoc = SmallIcon ("computer", h - (_border*2));
if (pmAdHoc.size().height() != (h - (_border*2))) { if (pmAdHoc.size().height() != (h - (_border*2))) {
TQImage pmAdHocImg = pmAdHoc.convertToImage(); TQImage pmAdHocImg = pmAdHoc.convertToImage();
pmAdHocImg = pmAdHocImg.smoothScale(65535, (h - (_border*2)), TQImage::ScaleMin); pmAdHocImg = pmAdHocImg.smoothScale(65535, (h - (_border*2)), TQImage::ScaleMin);

Loading…
Cancel
Save