| 599 | } |
| 600 | |
| 601 | void FindReplaceDialog::restorePosition() |
| 602 | { |
| 603 | qInfo(Q_FUNC_INFO); |
| 604 | |
| 605 | ApplicationSettings settings; |
| 606 | |
| 607 | if (settings.centerSearchDialog()) { |
| 608 | const QPoint centerPoint = parentWidget()->geometry().center(); |
| 609 | move(centerPoint - rect().center()); |
| 610 | } |
| 611 | else { |
| 612 | move(lastClosedPosition); |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | int FindReplaceDialog::computeSearchFlags() |
| 617 | { |
nothing calls this directly
no outgoing calls
no test coverage detected