VirtualBox

Ignore:
Timestamp:
Nov 9, 2022 5:34:58 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: Set description label earlier in operation panel.

File:
1 edited

Legend:

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

    r97483 r97484  
    220220        m_pOperationDescriptionLabel->setContextMenuPolicy(Qt::NoContextMenu);
    221221        m_pMainLayout->addWidget(m_pOperationDescriptionLabel, 0, 0, 1, 3);
     222        if (!m_comProgress.isNull())
     223            m_pOperationDescriptionLabel->setText(m_comProgress.GetDescription());
    222224    }
    223225
     
    275277    Q_UNUSED(uProgressId);
    276278    m_pProgressBar->setValue(iPercent);
    277 
    278     if (m_pOperationDescriptionLabel)
    279         m_pOperationDescriptionLabel->setText(m_comProgress.GetDescription());
    280 
    281279}
    282280
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