equal
deleted
inserted
replaced
347 p.save(); |
347 p.save(); |
348 |
348 |
349 QStyleOptionButton option; |
349 QStyleOptionButton option; |
350 initStyleOption(&option); |
350 initStyleOption(&option); |
351 |
351 |
352 //Enable command link appearence on Vista |
352 //Enable command link appearance on Vista |
353 option.features |= QStyleOptionButton::CommandLinkButton; |
353 option.features |= QStyleOptionButton::CommandLinkButton; |
354 option.text = QString(); |
354 option.text = QString(); |
355 option.icon = QIcon(); //we draw this ourselves |
355 option.icon = QIcon(); //we draw this ourselves |
356 QSize pixmapSize = icon().actualSize(iconSize()); |
356 QSize pixmapSize = icon().actualSize(iconSize()); |
357 |
357 |