| 653 | } |
| 654 | |
| 655 | void MainWindow::refreshTitleWidget() { |
| 656 | if (Ui::Platform::NativeWindowFrameSupported() |
| 657 | && Core::App().settings().nativeWindowFrame()) { |
| 658 | setNativeFrame(true); |
| 659 | if (Platform::NativeTitleRequiresShadow()) { |
| 660 | _titleShadow.create(this); |
| 661 | _titleShadow->show(); |
| 662 | } |
| 663 | } else { |
| 664 | setNativeFrame(false); |
| 665 | _titleShadow.destroy(); |
| 666 | } |
| 667 | } |
| 668 | |
| 669 | void MainWindow::updateMinimumSize() { |
| 670 | setMinimumSize(QSize(computeMinWidth(), computeMinHeight())); |
nothing calls this directly
no test coverage detected