| 890 | const QPointer<ElaAppBar> guard(this); |
| 891 | if (window()->isMinimized()) |
| 892 | { |
| 893 | window()->showNormal(); |
| 894 | } |
| 895 | if (!guard) |
| 896 | { |
| 897 | return; |
| 898 | } |
| 899 | d->onCloseButtonClicked(); |
| 900 | if (guard) |
| 901 | { |
| 902 | d->_isCloseRequestPending = false; |
| 903 | } |
| 904 | }, |
| 905 | Qt::QueuedConnection); |
| 906 | } |
| 907 | return true; |
| 908 | } |
nothing calls this directly
no test coverage detected