Changeset 29915 in vbox
- Timestamp:
- May 31, 2010 3:26:55 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
-
UIActionsPool.cpp (modified) (2 diffs)
-
UIMachineLogic.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.cpp
r29734 r29915 20 20 /* Global includes */ 21 21 #include <QtGlobal> 22 #include <QToolTip> 22 23 23 24 /* Local includes */ … … 600 601 { 601 602 menu()->setTitle(QApplication::translate("UIActionsPool", "&USB Devices")); 603 connect(menu(), SIGNAL(hovered(QAction*)), this, SLOT(sltPopupToolTip(QAction*))); 604 } 605 606 private slots: 607 608 void sltPopupToolTip(QAction *pAction) 609 { 610 QToolTip::showText(QCursor::pos(), pAction->toolTip()); 602 611 } 603 612 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r29806 r29915 1357 1357 /* Set USB attach data: */ 1358 1358 attachUSBAction->setData(QVariant::fromValue(USBTarget(!attachUSBAction->isChecked(), device.GetId()))); 1359 attachUSBAction->setToolTip(vboxGlobal().toolTip(device)); 1359 1360 } 1360 1361 }
Note:
See TracChangeset
for help on using the changeset viewer.

