VirtualBox

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


Ignore:
Timestamp:
Nov 3, 2020 6:58:51 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Restoring all open tabs during dialog creation

File:
1 edited

Legend:

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

    r86800 r86801  
    518518{
    519519    clearAndDeleteTabs();
    520     /* Add a single tab with m_homeUrl: */
    521     QUrl initialUrl;
    522     if (!m_savedUrlList.isEmpty())
    523         initialUrl = m_savedUrlList[0];
    524     addNewTab(initialUrl);
     520    if (m_savedUrlList.isEmpty())
     521        addNewTab(QUrl());
     522    else
     523        for (int i = 0; i < m_savedUrlList.size(); ++i)
     524            addNewTab(m_savedUrlList[i]);
    525525}
    526526
     
    751751    //         this, &SearchWidget::searchingFinished);
    752752
    753 
    754753    connect(m_pSearchEngine, &QHelpSearchEngine::indexingStarted,
    755754            this, &UIHelpBrowserWidget::sltHandleIndexingStarted);
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