VirtualBox

Ignore:
Timestamp:
Aug 21, 2008 12:05:09 PM (16 years ago)
Author:
vboxsync
Message:

Fe/Qt4: VBoxToolBar cleaning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxToolBar.h

    r10519 r11535  
    5454        if (layout())
    5555            layout()->setContentsMargins (0, 0, 0, 0);;
    56        
     56
    5757        setContextMenuPolicy (Qt::NoContextMenu);
    5858
     
    125125    }
    126126
    127 
    128     /**
    129      *  Substitutes for QMainWindow::setUsesBigPixmaps() when QMainWindow is
    130      *  not used (otherwise just redirects the call to #mainWindow()).
    131      */
    132     void setUsesBigPixmaps (bool enable)
    133     {
    134         QSize size (24, 24);
    135         if (!enable)
    136             size = QSize (16, 16);
    137 
    138         if (mMainWindow)
    139             mMainWindow->setIconSize (size);
    140         else
    141             setIconSize (size);
    142     }
    143 
    144127    void setUsesTextLabel (bool enable)
    145128    {
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