src/gui/widgets/qcommandlinkbutton.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   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