Changeset 41370 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 21, 2012 1:57:04 PM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxFilePathSelectorWidget.cpp
r41021 r41370 566 566 , mMode (VBoxFilePathSelectorWidget::Mode_File_Open) 567 567 , mLineEdit (NULL) 568 , m_fButtonTextSet(false) 568 569 , mHomeDir (QDir::current().absolutePath()) 569 570 , mIsModified (false) … … 681 682 { 682 683 mSelectButton->setText(strText); 684 m_fButtonTextSet = !strText.isEmpty(); 683 685 } 684 686 … … 720 722 void VBoxEmptyFileSelector::retranslateUi() 721 723 { 722 mSelectButton->setText (tr ("&Choose...")); 724 if (!m_fButtonTextSet) 725 mSelectButton->setText(tr("&Choose...")); 723 726 } 724 727 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxFilePathSelectorWidget.h
r41021 r41370 195 195 QILineEdit *mLineEdit; 196 196 QPushButton *mSelectButton; 197 bool m_fButtonTextSet; 197 198 QString mFileDialogTitle; 198 199 QString mFileFilters;
Note:
See TracChangeset
for help on using the changeset viewer.