Changeset 14395 in vbox
- Timestamp:
- Nov 20, 2008 10:46:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r14386 r14395 1666 1666 QMenu *pMenu = NULL; 1667 1667 QVariant vID; 1668 if ( pMenu = qobject_cast<QMenu*>(sender()))1668 if ((pMenu = qobject_cast<QMenu*>(sender()))) 1669 1669 { 1670 1670 vID = pMenu->menuAction()->data(); … … 1800 1800 { 1801 1801 VBoxVMItem* pItem = NULL; 1802 QMenu *pMenu = NULL;1803 1802 QVariant vID; 1804 if ( pMenu = qobject_cast<QMenu*>(sender()))1803 if (QMenu *pMenu = qobject_cast<QMenu*>(sender())) 1805 1804 { 1806 1805 vID = pMenu->menuAction()->data(); … … 1867 1866 VBoxVMItem* VBoxTrayIcon::GetItem (QObject* aObject) 1868 1867 { 1869 QAction *pAction = NULL;1870 1868 VBoxVMItem* pItem = NULL; 1871 if ( pAction = qobject_cast<QAction*>(sender()))1869 if (QAction *pAction = qobject_cast<QAction*>(sender())) 1872 1870 { 1873 1871 QVariant v = pAction->data();
Note:
See TracChangeset
for help on using the changeset viewer.