VirtualBox

Changeset 87697 in vbox


Ignore:
Timestamp:
Feb 10, 2021 5:20:34 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Some windows fixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r87656 r87697  
    33933393#if defined (VBOX_WITH_QHELP_VIEWER)
    33943394    showHelpBrowser(strLocation);
    3395     return;
    3396 #endif
    3397 
    3398 #if defined (VBOX_WS_WIN)
    3399     HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    3400 #endif
    3401 
    3402 #if !defined(VBOX_OSE)
     3395#else
     3396 #if defined (VBOX_WS_WIN)
     3397        HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
     3398 #endif
     3399
     3400 #if !defined(VBOX_OSE)
    34033401    char szViewerPath[RTPATH_MAX];
    34043402    int rc;
     
    34063404    AssertRC(rc);
    34073405    QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
    3408 # else /* #ifndef VBOX_OSE */
     3406 # else /* #ifndef VBOX_OSE */
    34093407    uiCommon().openURL("file://" + strLocation);
    3410 # endif /* #ifdef VBOX_OSE */
    3411 #if defined (VBOX_WS_MAC)
     3408 # endif /* #ifdef VBOX_OSE */
     3409 #if defined (VBOX_WS_MAC)
    34123410    uiCommon().openURL("file://" + strLocation);
     3411 #endif
    34133412#endif
    34143413}
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r87664 r87697  
    342342    m_iFontPointSize = iFontPointSize;
    343343    if (m_pValueLabel && m_iInitialFontPointSize != 0)
    344     {
    345         m_pValueLabel->setText(QString("%1\%").arg(QString::number(fontPercentage())));
    346     }
     344        m_pValueLabel->setText(QString("%1%2").arg(QString::number(fontPercentage())).arg("%"));
    347345}
    348346
     
    372370                     m_pValueLabel);
    373371
    374     m_pValueLabel->setText(QString("%1\%").arg(QString::number(fontPercentage())));
     372    m_pValueLabel->setText(QString("%1%2").arg(QString::number(fontPercentage())).arg("%"));
    375373
    376374    m_pMinusButton->setIcon(UIIconPool::iconSet(":/help_browser_minus_32px.png"));
     
    16321630void UIHelpBrowserWidget::sltShowPrintDialog()
    16331631{
    1634 #ifndef VBOX_WS_MAC
     1632#ifdef VBOX_WS_X11
    16351633    if (!m_pTabManager)
    16361634        return;
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