VirtualBox

Changeset 17715 in vbox


Ignore:
Timestamp:
Mar 11, 2009 5:36:39 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: little fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFilePathSelectorWidget.cpp

    r17714 r17715  
    389389            {
    390390                path = VBoxGlobal::getSaveFileName (initDir, mFileFilters, parentWidget(), mFileDialogTitle);
    391                 if (QFileInfo (path).suffix().isEmpty())
     391                if (!path.isEmpty() && QFileInfo (path).suffix().isEmpty())
    392392                    path = QString ("%1.%2").arg (path).arg (mDefaultSaveExt);
    393393                break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette