Changeset 106042 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 13, 2024 9:00:05 AM (7 months ago)
- svn:sync-xref-src-repo-rev:
- 164792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/activity/overview/UIVMActivityOverviewModelView.cpp
r105081 r106042 685 685 { 686 686 QHeaderView* pHeader = horizontalHeader(); 687 if (!pHeader )687 if (!pHeader || pHeader->count() <= 0) 688 688 return; 689 689 int iSectionCount = pHeader->count(); 690 690 int iHiddenSectionCount = pHeader->hiddenSectionCount(); 691 if (iSectionCount == iHiddenSectionCount) 692 return; 691 693 int iWidth = width() / (iSectionCount - iHiddenSectionCount); 692 694 for (int i = 0; i < iSectionCount; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.