Changeset 26647 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 19, 2010 12:45:25 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57857
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.cpp
r26637 r26647 59 59 : UIAction(pParent, UIActionType_Simple) 60 60 { 61 setIcon(VBoxGlobal::iconSet(strIcon.toLatin1().data(), strIconDis.toLatin1().data())); 61 if (!strIcon.isNull()) 62 setIcon(VBoxGlobal::iconSet(strIcon.toLatin1().data(), strIconDis.toLatin1().data())); 62 63 } 63 64 }; … … 73 74 : UIAction(pParent, UIActionType_Toggle) 74 75 { 75 setIcon(VBoxGlobal::iconSet(strIcon.toLatin1().data(), strIconDis.toLatin1().data())); 76 if (!strIcon.isNull()) 77 setIcon(VBoxGlobal::iconSet(strIcon.toLatin1().data(), strIconDis.toLatin1().data())); 76 78 init(); 77 79 } … … 113 115 : UIAction(pParent, UIActionType_Menu) 114 116 { 115 setIcon(VBoxGlobal::iconSet(strIcon, strIconDis)); 117 if (!strIcon.isNull()) 118 setIcon(VBoxGlobal::iconSet(strIcon, strIconDis)); 116 119 setMenu(new QMenu); 117 120 }
Note:
See TracChangeset
for help on using the changeset viewer.