VirtualBox

Changeset 99171 in vbox for trunk


Ignore:
Timestamp:
Mar 24, 2023 11:36:58 AM (19 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Setting tab text when file is not found.

File:
1 edited

Legend:

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

    r99115 r99171  
    477477    QTextDocument *pDocument = document();
    478478    if (!pDocument || pDocument->isEmpty())
    479         setText(UIHelpBrowserWidget::tr("<div><p><h3>404. Not found.</h3>The page <b>%1</b> could not be found.</p></div>").arg(url.toString()));
     479    {
     480        setText(UIHelpBrowserWidget::tr("<div><p><h3>Not found.</h3>The page <b>%1</b> could not be found.</p></div>").arg(url.toString()));
     481        setDocumentTitle(UIHelpBrowserWidget::tr("Not Found"));
     482    }
    480483    if (m_pFindInPageWidget && m_pFindInPageWidget->isVisible())
    481484    {
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