| 122 | } |
| 123 | |
| 124 | void TitleBarWidget::toggleMaximize() { |
| 125 | if (window()->isMaximized()) |
| 126 | window()->showNormal(); |
| 127 | else |
| 128 | window()->showMaximized(); |
| 129 | updateMaximizeIcon(); |
| 130 | } |
| 131 | |
| 132 | void TitleBarWidget::mousePressEvent(QMouseEvent* event) { |
| 133 | if (event->button() == Qt::LeftButton) { |
nothing calls this directly
no outgoing calls
no test coverage detected