- Timestamp:
- Mar 2, 2022 9:29:54 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp
r93990 r94053 117 117 QIcon m_expandCollapseIcon; 118 118 UIToolPageButton *m_pTitleButton; 119 QString m_strTitle; 119 120 friend class UIToolBox; 120 121 }; … … 181 182 void UIToolBoxPage::setTitle(const QString &strTitle) 182 183 { 184 m_strTitle = strTitle; 183 185 if (!m_pTitleLabel) 184 186 return; 185 187 m_pTitleLabel->setText(strTitle); 188 retranslateUi(); 186 189 } 187 190 … … 343 346 { 344 347 if (m_pTitleButton) 345 m_pTitleButton->setToolTip(tr("Expands and hides the page"));348 m_pTitleButton->setToolTip(tr("Expands the page \"%1\"").arg(m_strTitle.remove('&'))); 346 349 } 347 350
Note:
See TracChangeset
for help on using the changeset viewer.

