VirtualBox

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


Ignore:
Timestamp:
Jun 29, 2021 9:03:39 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145403
Message:

FE/Qt: bugref:10049. Setting help keyword as property of the message box when it is provided

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

Legend:

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

    r89933 r89945  
    3131#include "QIMessageBox.h"
    3232#include "QIRichTextLabel.h"
     33#include "UICommon.h"
    3334#include "UIIconPool.h"
    3435
     
    4546    , m_strMessage(strMessage)
    4647    , m_pLabelText(0)
    47     , m_strHelpKeyword(strHelpKeyword)
    4848    , m_pFlagCheckBox(0)
    4949    , m_pDetailsContainer(0)
     
    5858    , m_fDone(false)
    5959{
     60    if (!strHelpKeyword.isEmpty())
     61        uiCommon().setHelpKeyword(this, strHelpKeyword);
    6062    /* Prepare: */
    6163    prepare();
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMessageBox.h

    r89933 r89945  
    172172    /** Holds the message-label instance. */
    173173    QIRichTextLabel *m_pLabelText;
    174 
    175     /** Holds the help keyword. */
    176     QString m_strHelpKeyword;
    177174
    178175    /** Holds the flag check-box instance. */
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