Fix quit-by-closing non-authed window.

This commit is contained in:
John Preston 2020-06-29 20:03:37 +04:00
parent 52eef22273
commit 40971d6da6

View file

@ -296,10 +296,8 @@ void Controller::minimize() {
} }
void Controller::close() { void Controller::close() {
if (!_widget.hideNoQuit()) {
_widget.close(); _widget.close();
} }
}
QPoint Controller::getPointForCallPanelCenter() const { QPoint Controller::getPointForCallPanelCenter() const {
Expects(_widget.windowHandle() != nullptr); Expects(_widget.windowHandle() != nullptr);