- Timestamp:
- Sep 21, 2023 3:09:30 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIEditor.cpp
r101051 r101224 28 28 /* Qt includes: */ 29 29 #include <QAbstractButton> 30 #include <QAbstractItemModel> 31 #include <QAbstractItemView> 30 32 #include <QLabel> 31 33 #include <QRegularExpression> … … 100 102 result << pTabWidget->tabText(i).remove(re); 101 103 104 /* Adding all the horizontal headers of abstract-item-view: */ 105 foreach (QAbstractItemView *pView, findChildren<QAbstractItemView*>()) 106 if (pView) 107 if (QAbstractItemModel *pModel = pView->model()) 108 for (int i = 0; i < pModel->columnCount(); ++i) 109 result << pModel->headerData(i, Qt::Horizontal).toString().remove(re); 110 102 111 return result; 103 112 }
Note:
See TracChangeset
for help on using the changeset viewer.