Changeset 51280 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.cpp
- Timestamp:
- May 16, 2014 3:34:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.cpp
r44528 r51280 37 37 , mIsExpanded (false) 38 38 { 39 updateIcon();39 init(); 40 40 } 41 41 … … 44 44 , mIsExpanded (false) 45 45 { 46 updateIcon();46 init(); 47 47 } 48 48 … … 52 52 updateIcon(); 53 53 QIRichToolButton::buttonClicked(); 54 } 55 56 void QIArrowButtonSwitch::init() 57 { 58 /* Restrict icon size: */ 59 mButton->setIconSize(QSize(10, 10)); 60 /* And update icon finally: */ 61 updateIcon(); 54 62 } 55 63
Note:
See TracChangeset
for help on using the changeset viewer.