diff options
| author | Alexander Lohnau <[email protected]> | 2021-11-11 20:51:00 +0100 |
|---|---|---|
| committer | Alexander Lohnau <[email protected]> | 2021-12-01 22:10:58 +0000 |
| commit | f1756dd1413fa602f536e057087583be2ddbd2b2 (patch) | |
| tree | 39b830fdda9c4fdb19319bf09ebb683b66dfcf34 /src/dolphinurlnavigatorscontroller.cpp | |
| parent | fb483636e859047715780a7a2300cad97afd7208 (diff) | |
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;
}
}
```
Diffstat (limited to 'src/dolphinurlnavigatorscontroller.cpp')
0 files changed, 0 insertions, 0 deletions
