Changeset 43650 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 16, 2012 9:17:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r43622 r43650 1604 1604 { 1605 1605 KClipboardMode mode = (KClipboardMode)i; 1606 QAction *pAction = pMenu->addAction(gpConverter->toString(mode)); 1606 QAction *pAction = new QAction(gpConverter->toString(mode), m_pSharedClipboardActions); 1607 pMenu->addAction(pAction); 1607 1608 pAction->setData(QVariant::fromValue(mode)); 1608 1609 pAction->setCheckable(true); 1609 1610 pAction->setChecked(session().GetMachine().GetClipboardMode() == mode); 1610 m_pSharedClipboardActions->addAction(pAction);1611 1611 } 1612 1612 connect(m_pSharedClipboardActions, SIGNAL(triggered(QAction*)), … … 1642 1642 { 1643 1643 KDragAndDropMode mode = (KDragAndDropMode)i; 1644 QAction *pAction = pMenu->addAction(gpConverter->toString(mode)); 1644 QAction *pAction = new QAction(gpConverter->toString(mode), m_pDragAndDropActions); 1645 pMenu->addAction(pAction); 1645 1646 pAction->setData(QVariant::fromValue(mode)); 1646 1647 pAction->setCheckable(true); 1647 1648 pAction->setChecked(session().GetMachine().GetDragAndDropMode() == mode); 1648 m_pDragAndDropActions->addAction(pAction);1649 1649 } 1650 1650 connect(m_pDragAndDropActions, SIGNAL(triggered(QAction*)),
Note:
See TracChangeset
for help on using the changeset viewer.