Changeset 101026 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Sep 6, 2023 11:09:08 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerPreferencesWidget.cpp
r100963 r101026 189 189 void UIVMLogViewerPreferencesWidget::sltOpenFontDialog() 190 190 { 191 QObject *pParent = parent(); 192 UIVMLogViewerWidget *pLogViewer = 0; 193 while(pParent) 194 { 195 pLogViewer = qobject_cast<UIVMLogViewerWidget*>(pParent); 196 if (pLogViewer) 197 break; 198 pParent = pParent->parent(); 199 } 200 201 if (!pLogViewer) 202 return; 191 203 QFont currentFont; 192 UIVMLogViewerWidget* parentWidget = qobject_cast<UIVMLogViewerWidget*>(parent()); 193 if (!parentWidget) 194 return; 195 196 currentFont = parentWidget->currentFont(); 204 currentFont = pLogViewer->currentFont(); 197 205 bool ok; 198 206 QFont font =
Note:
See TracChangeset
for help on using the changeset viewer.