VirtualBox

Changeset 105955 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 4, 2024 3:54:04 PM (3 months ago)
Author:
vboxsync
Message:

FE/Qt: Docs: bugref:10731 Some fixes related to context sensitive help. More may follow.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/activity/overview/UIVMActivityOverviewWidget.cpp

    r105823 r105955  
    11011101    sltRetranslateUI();
    11021102    updateModelColumVisibilityCache();
    1103     uiCommon().setHelpKeyword(this, "vm-activity-overview-widget");
     1103    uiCommon().setHelpKeyword(this, "vm-activity-overview");
    11041104    connect(&uiCommon(), &UICommon::sigAskToCommitData,
    11051105            this, &UIVMActivityOverviewWidget::sltSaveSettings);
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolManager.cpp

    r105801 r105955  
    31843184    {
    31853185        return QKeySequence("Ctrl+Shift+H");
    3186     }
    3187 
    3188     /** Returns standard shortcut. */
    3189     virtual QKeySequence standardShortcut(UIType) const RT_OVERRIDE
    3190     {
    3191         return   actionPool()->isTemporary()
    3192                ? QKeySequence()
    3193                : UIShortcutPool::standardSequence(QKeySequence::HelpContents);
    31943186    }
    31953187
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.cpp

    r105553 r105955  
    235235    }
    236236
    237     if (!strKeyword.isEmpty())
    238         m_pInstance->showHelpForKeyword(strKeyword);
    239237    m_pInstance->show();
    240238    m_pInstance->setWindowState(m_pInstance->windowState() & ~Qt::WindowMinimized);
    241239    m_pInstance->activateWindow();
    242 }
     240    if (!strKeyword.isEmpty())
     241        m_pInstance->showHelpForKeyword(strKeyword);
     242
     243}
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r104596 r105955  
    908908void UIHelpBrowserTabManager::addNewTab(const QUrl &initialUrl, bool fBackground)
    909909{
     910#if 0
    910911    /* If there is already a tab with a source which is equal to @initialUrl then make it current: */
    911912    int iExistIndex = findTab(initialUrl);
     
    913914    {
    914915        setCurrentIndex(iExistIndex);
    915         return;
    916     }
    917 
     916        setSource(initialUrl);
     917        return;
     918    }
     919#endif
    918920    UIHelpBrowserTab *pTabWidget = new  UIHelpBrowserTab(m_pHelpEngine, m_homeUrl, initialUrl);
    919921    AssertReturnVoid(pTabWidget);
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