Changeset 30990 in vbox
- Timestamp:
- Jul 22, 2010 1:20:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63902
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSFDetails.cpp
r28800 r30990 41 41 /* No reset button */ 42 42 mPsPath->setResetEnabled (false); 43 44 /* Setup connections: */ 43 45 connect (mPsPath, SIGNAL (currentIndexChanged (int)), 44 46 this, SLOT (onSelectPath())); 45 47 connect (mPsPath, SIGNAL (pathChanged (const QString &)), 48 this, SLOT (onSelectPath())); 46 49 connect (mLeName, SIGNAL (textChanged (const QString &)), 47 50 this, SLOT (validate())); … … 133 136 134 137 mButtonBox->button (QDialogButtonBox::Ok)->setEnabled (!mPsPath->path().isEmpty() && 138 QDir(mPsPath->path()).exists() && 135 139 !mLeName->text().trimmed().isEmpty() && 136 140 !mLeName->text().contains(" ") && … … 157 161 if (!folder.isRoot()) 158 162 /* Processing non-root folder */ 159 mLeName->setText (folder.dirName() );163 mLeName->setText (folder.dirName().replace(' ', '_')); 160 164 else 161 165 {
Note:
See TracChangeset
for help on using the changeset viewer.