Changeset 94028 in vbox
- Timestamp:
- Mar 1, 2022 11:04:48 AM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.cpp
r93998 r94028 335 335 } 336 336 337 /* But if selector is focused => tool-tip depends on the mode only: */338 switch (m_enmMode)339 {340 case Mode_Folder:341 m_strNoneToolTipFocused = tr("Holds the folder path.");342 break;343 case Mode_File_Open:344 case Mode_File_Save:345 m_strNoneToolTipFocused = tr("Holds the file path.");346 break;347 default:348 AssertFailedBreak();349 }350 351 337 /* Finally, retranslate current item: */ 352 338 refreshText(); … … 573 559 /* Set the tool-tip: */ 574 560 if (!m_fToolTipOverriden) 575 QIComboBox::setToolTip( m_strNoneToolTipFocused);561 QIComboBox::setToolTip(fullPath()); 576 562 setItemData(PathId, toolTip(), Qt::ToolTipRole); 577 563 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.h
r93115 r94028 201 201 /** Holds the cached tool-tip for empty path. */ 202 202 QString m_strNoneToolTip; 203 /** Holds the cached tool-tip for empty path in focused case. */204 QString m_strNoneToolTipFocused;205 203 206 204 /** Holds whether editor has Reset action. */
Note:
See TracChangeset
for help on using the changeset viewer.