Changeset 108042 in vbox
- Timestamp:
- Feb 3, 2025 6:04:17 PM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167317
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
r108041 r108042 922 922 923 923 /* Paint arrow: */ 924 pPainter->drawLine(subRect.topLeft() + QPoint(3, 3), QPoint(subRect.right() - 2, subRect.center().y())); 925 pPainter->drawLine(subRect.bottomLeft() + QPoint(3, -3), QPoint(subRect.right() - 2, subRect.center().y())); 924 if (!model()->showItemNames()) 925 { 926 pPainter->drawLine(subRect.topLeft() + QPoint(3, 3), QPoint(subRect.right() - 2, subRect.center().y())); 927 pPainter->drawLine(subRect.bottomLeft() + QPoint(3, -3), QPoint(subRect.right() - 2, subRect.center().y())); 928 } 929 else 930 { 931 pPainter->drawLine(subRect.topRight() + QPoint(-3, 3), QPoint(subRect.left() + 3, subRect.center().y())); 932 pPainter->drawLine(subRect.bottomRight() + QPoint(-3, -3), QPoint(subRect.left() + 3, subRect.center().y())); 933 } 926 934 927 935 /* Restore painter: */
Note:
See TracChangeset
for help on using the changeset viewer.