| 191 | } |
| 192 | |
| 193 | void TitleBar::showMaxRestore() |
| 194 | { |
| 195 | QString iconPath = GetIconPath(); |
| 196 | if (ParentIsMaxsized()) { |
| 197 | _maximizeButton->setIcon(QIcon(iconPath+"/maximize.svg")); |
| 198 | normalShow(); |
| 199 | } else { |
| 200 | _maximizeButton->setIcon(QIcon(iconPath+"/restore.svg")); |
| 201 | maximizedShow(); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | void TitleBar::setRestoreButton(bool max) |
| 206 | { |
nothing calls this directly
no test coverage detected