- Timestamp:
- May 23, 2014 5:37:33 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r51375 r51378 270 270 setIcon(icon); 271 271 setMenu(new UIMenu); 272 } 273 274 void UIActionMenu::updateText() 275 { 276 setText(nameInMenu()); 272 277 } 273 278 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.h
r51375 r51378 109 109 QString nameInMenu() const; 110 110 111 /** Updates action text accordingly. */ 112 virtual void updateText(); 113 111 114 private: 112 113 /* Helper: Text stuff: */114 void updateText();115 115 116 116 /* Variables: */ … … 230 230 UIActionMenu(UIActionPool *pParent, 231 231 const QIcon &icon); 232 233 /** Updates action text accordingly. */ 234 virtual void updateText(); 232 235 }; 233 236
Note:
See TracChangeset
for help on using the changeset viewer.