VirtualBox

Changeset 35737 in vbox


Ignore:
Timestamp:
Jan 27, 2011 12:39:17 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: allow extpacks to be installed by D&D

File:
1 edited

Legend:

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

    r35670 r35737  
    516516            }
    517517        }else if (   VBoxGlobal::hasAllowedExtension(file, VBoxDefs::OVFFileExts)
     518                  && pEvent->possibleActions().testFlag(Qt::CopyAction))
     519        {
     520            pEvent->setDropAction(Qt::CopyAction);
     521            pEvent->accept();
     522        }else if (   VBoxGlobal::hasAllowedExtension(file, VBoxDefs::VBoxExtPackFileExts)
    518523                  && pEvent->possibleActions().testFlag(Qt::CopyAction))
    519524        {
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