| 60 | } |
| 61 | |
| 62 | bool IdealButtonBarLayout::eventFilter(QObject* watched, QEvent* event) |
| 63 | { |
| 64 | if (event->type() == QEvent::StyleChange) { |
| 65 | setSpacing(buttonSpacing()); |
| 66 | } |
| 67 | |
| 68 | return QBoxLayout::eventFilter(watched, event); |
| 69 | } |
| 70 | |
| 71 | #include "moc_ideallayout.cpp" |
nothing calls this directly
no test coverage detected