Changeset 87697 in vbox
- Timestamp:
- Feb 10, 2021 5:20:34 PM (4 years ago)
- 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 3393 3393 #if defined (VBOX_WITH_QHELP_VIEWER) 3394 3394 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) 3403 3401 char szViewerPath[RTPATH_MAX]; 3404 3402 int rc; … … 3406 3404 AssertRC(rc); 3407 3405 QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation)); 3408 # else /* #ifndef VBOX_OSE */3406 # else /* #ifndef VBOX_OSE */ 3409 3407 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) 3412 3410 uiCommon().openURL("file://" + strLocation); 3411 #endif 3413 3412 #endif 3414 3413 } -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp
r87664 r87697 342 342 m_iFontPointSize = iFontPointSize; 343 343 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("%")); 347 345 } 348 346 … … 372 370 m_pValueLabel); 373 371 374 m_pValueLabel->setText(QString("%1 \%").arg(QString::number(fontPercentage())));372 m_pValueLabel->setText(QString("%1%2").arg(QString::number(fontPercentage())).arg("%")); 375 373 376 374 m_pMinusButton->setIcon(UIIconPool::iconSet(":/help_browser_minus_32px.png")); … … 1632 1630 void UIHelpBrowserWidget::sltShowPrintDialog() 1633 1631 { 1634 #if ndef VBOX_WS_MAC1632 #ifdef VBOX_WS_X11 1635 1633 if (!m_pTabManager) 1636 1634 return;
Note:
See TracChangeset
for help on using the changeset viewer.