Skip to content
Commit f1756dd1 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Port deprecated QLayout::margin call

As the method impl suggests, the left value is preferred if all the values are the same.
This is the case for the given layout.

```cpp
int QLayout::margin() const
{
    int left, top, right, bottom;
    getContentsMargins(&left, &top, &right, &bottom);
    if (left == top && top == right && right == bottom) {
        return left;
    } else {
        return -1;
    }
}
```
parent fb483636
Pipeline #104006 passed with stage
in 5 minutes and 30 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment