VirtualBox

Changeset 57716 in vbox


Ignore:
Timestamp:
Sep 11, 2015 1:52:21 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: About Dialog: Small coding style and review comments fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp

    r57640 r57716  
    110110    m_pixmap = icon.pixmap(m_size);
    111111
    112     /* Prepares main-layout: */
     112    /* Prepare main-layout: */
    113113    prepareMainLayout();
    114114
     
    123123    AssertPtrReturnVoid(m_pMainLayout);
    124124    {
    125         /* Prepares label: */
     125        /* Prepare label: */
    126126        prepareLabel();
    127127
    128         /* Prepares close-button: */
     128        /* Prepare close-button: */
    129129        prepareCloseButton();
    130130    }
     
    162162    AssertPtrReturnVoid(pButtonBox);
    163163    {
    164         /* Prepare button-box with close-button: */
     164        /* Create close-button: */
    165165        QPushButton *pCloseButton = pButtonBox->addButton(QDialogButtonBox::Close);
    166166        AssertPtrReturnVoid(pCloseButton);
    167         {
    168             connect(pButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
    169             /* Add button-box to the main-layout: */
    170             m_pMainLayout->addWidget(pButtonBox);
    171         }
     167        /* Prepare close-button: */
     168        connect(pButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
     169
     170        /* Add button-box to the main-layout: */
     171        m_pMainLayout->addWidget(pButtonBox);
    172172    }
    173173}
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