Qt6 migration
This commit is contained in:
parent
87553b2554
commit
423043d431
19 changed files with 64 additions and 87 deletions
|
|
@ -54,13 +54,13 @@ if (role == Qt::DisplayRole) {
|
|||
}
|
||||
else if (role == Qt::TextAlignmentRole) {
|
||||
if (col == c_ColumnNode || col == c_ColumnDetails) {
|
||||
result = Qt::AlignLeft + Qt::AlignVCenter;
|
||||
result = int(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
}
|
||||
else {
|
||||
result = Qt::AlignRight + Qt::AlignVCenter;
|
||||
result = int(Qt::AlignRight | Qt::AlignVCenter);
|
||||
}
|
||||
}
|
||||
else if (role == Qt::BackgroundColorRole) {
|
||||
else if (role == Qt::BackgroundRole) {
|
||||
if (col == c_ColumnExclusive || col == c_ColumnInclusive) {
|
||||
float t = col == 1 ? item->exclusiveTime() : item->inclusiveTime();
|
||||
float tt = explain->plan->inclusiveTime();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue