Changeset 101391 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 9, 2023 10:09:06 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.cpp
r101390 r101391 122 122 /** Constructs selector item. 123 123 * @param icon Brings the item icon. 124 * @param strText Brings the item text.125 124 * @param iID Brings the item ID. 126 125 * @param strLink Brings the item link. 127 126 * @param pPage Brings the item page reference. 128 127 * @param iParentID Brings the item parent ID. */ 129 UISelectorItem(const QIcon &icon, const QString &strText,int iID, const QString &strLink, UISettingsPage *pPage, int iParentID)128 UISelectorItem(const QIcon &icon, int iID, const QString &strLink, UISettingsPage *pPage, int iParentID) 130 129 : m_icon(icon) 131 , m_strText(strText)132 130 , m_iID(iID) 133 131 , m_strLink(strLink) … … 178 176 /** Constructs selector item. 179 177 * @param icon Brings the item icon. 180 * @param strText Brings the item text.181 178 * @param iID Brings the item ID. 182 179 * @param strLink Brings the item link. … … 184 181 * @param iParentID Brings the item parent ID. 185 182 * @param pParent Brings the item parent. */ 186 UISelectorActionItem(const QIcon &icon, const QString &strText,int iID, const QString &strLink, UISettingsPage *pPage, int iParentID, QObject *pParent)187 : UISelectorItem(icon, strText,iID, strLink, pPage, iParentID)188 , m_pAction(new QAction(icon, strText, pParent))183 UISelectorActionItem(const QIcon &icon, int iID, const QString &strLink, UISettingsPage *pPage, int iParentID, QObject *pParent) 184 : UISelectorItem(icon, iID, strLink, pPage, iParentID) 185 , m_pAction(new QAction(icon, QString(), pParent)) 189 186 , m_pTabWidget(0) 190 187 { … … 328 325 const QIcon icon = UIIconPool::iconSet(strMediumIcon); 329 326 330 UISelectorItem *pItem = new UISelectorItem(icon, "",iID, strLink, pPage, iParentID);327 UISelectorItem *pItem = new UISelectorItem(icon, iID, strLink, pPage, iParentID); 331 328 m_list.append(pItem); 332 329 … … 524 521 525 522 QWidget *pResult = 0; 526 UISelectorActionItem *pItem = new UISelectorActionItem(icon, "",iID, strLink, pPage, iParentID, this);523 UISelectorActionItem *pItem = new UISelectorActionItem(icon, iID, strLink, pPage, iParentID, this); 527 524 m_list.append(pItem); 528 525
Note:
See TracChangeset
for help on using the changeset viewer.