============================================================================
| 75 | |
| 76 | //============================================================================ |
| 77 | bool CDockSplitter::hasVisibleContent() const |
| 78 | { |
| 79 | // TODO Cache or precalculate this to speed up |
| 80 | for (int i = 0; i < count(); ++i) |
| 81 | { |
| 82 | if (!widget(i)->isHidden()) |
| 83 | { |
| 84 | return true; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | return false; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | //============================================================================ |
no test coverage detected