VirtualBox

Changeset 107760 in vbox for trunk


Ignore:
Timestamp:
Jan 14, 2025 3:37:48 PM (4 weeks ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Refactoring.

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

Legend:

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

    r107759 r107760  
    17331733}
    17341734
    1735 QUrl UIHelpBrowserWidget::findIndexHtml() const
     1735QUrl UIHelpBrowserWidget::findHomeUrl() const
    17361736{
    17371737    if (m_pHelpEngine && m_pHelpEngine->contentModel())
     
    18991899void UIHelpBrowserWidget::sltGoHome()
    19001900{
    1901     QUrl homeUrl = findIndexHtml();
     1901    QUrl homeUrl = findHomeUrl();
    19021902    if (homeUrl.isValid() && m_pTabManager)
    19031903        m_pTabManager->setSource(homeUrl);
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.h

    r107759 r107760  
    140140    void saveOptions();
    141141    void cleanup();
    142     QUrl findIndexHtml() const;
     142    QUrl findHomeUrl() const;
    143143    /* Returns the url of the item with @p itemIndex. */
    144144    QUrl contentWidgetUrl(const QModelIndex &itemIndex) const;
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