VirtualBox

Changeset 95019 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 16, 2022 1:19:17 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt/Ds: UIWelcomePane: Forgotten link handling.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager
Files:
2 edited

Legend:

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

    r93990 r95019  
    164164}
    165165
     166void UIWelcomePane::sltHandleLinkActivated(const QString &strLink)
     167{
     168    uiCommon().openURL(strLink);
     169}
     170
    166171void UIWelcomePane::prepare()
    167172{
     
    190195                m_pLabelText->setAlignment(Qt::AlignLeading | Qt::AlignTop);
    191196                m_pLabelText->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
     197                connect(m_pLabelText, &QLabel::linkActivated, this, &UIWelcomePane::sltHandleLinkActivated);
    192198
    193199                /* Add into layout: */
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIWelcomePane.h

    r93990 r95019  
    5050    virtual void retranslateUi() RT_OVERRIDE;
    5151
     52private slots:
     53
     54    /** Handles activated @a strLink. */
     55    void sltHandleLinkActivated(const QString &strLink);
     56
    5257private:
    5358
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