- Timestamp:
- Nov 22, 2022 5:28:34 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QILineEdit.cpp
r96643 r97657 241 241 void UIMarkableLineEdit::mark(bool fError, const QString &strErrorMessage /* = QString() */) 242 242 { 243 m_pIconLabel->setVisible(true); 243 244 AssertReturnVoid(m_pIconLabel); 244 245 const int iIconMetric = QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize); … … 260 261 m_pIconLabel = new QLabel; 261 262 AssertReturnVoid(m_pIconLabel); 263 /* Show the icon label only if line edit is marked for error/no error.*/ 264 m_pIconLabel->hide(); 262 265 pMainLayout->addWidget(m_pLineEdit); 263 266 pMainLayout->addWidget(m_pIconLabel);
Note:
See TracChangeset
for help on using the changeset viewer.

