VirtualBox

Changeset 14395 in vbox


Ignore:
Timestamp:
Nov 20, 2008 10:46:13 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: removed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r14386 r14395  
    16661666    QMenu *pMenu = NULL;
    16671667    QVariant vID;
    1668     if (pMenu = qobject_cast<QMenu*>(sender()))
     1668    if ((pMenu = qobject_cast<QMenu*>(sender())))
    16691669    {
    16701670        vID = pMenu->menuAction()->data();
     
    18001800{
    18011801    VBoxVMItem* pItem = NULL;
    1802     QMenu *pMenu = NULL;
    18031802    QVariant vID;
    1804     if (pMenu = qobject_cast<QMenu*>(sender()))
     1803    if (QMenu *pMenu = qobject_cast<QMenu*>(sender()))
    18051804    {
    18061805        vID = pMenu->menuAction()->data();
     
    18671866VBoxVMItem* VBoxTrayIcon::GetItem (QObject* aObject)
    18681867{
    1869     QAction *pAction = NULL;
    18701868    VBoxVMItem* pItem = NULL;
    1871     if (pAction = qobject_cast<QAction*>(sender()))
     1869    if (QAction *pAction = qobject_cast<QAction*>(sender()))
    18721870    {
    18731871        QVariant v = pAction->data();
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