Compare commits

..

No commits in common. "191085a8821b35680bba16ce5411fc9dbe912237" and "7a427ce1979ce7447e885c4f30129b40f3d466f5" have entirely different histories.

2 changed files with 6 additions and 12 deletions

View file

@ -61,7 +61,7 @@ IpcServerConnection::IpcServerConnection(QLocalSocket* socket, IpcServer* server
void IpcServerConnection::onDisconnected() {
qCInfo(logIpc) << "IPC connection disconnected" << this;
this->deleteLater();
delete this;
}
void IpcServerConnection::onReadyRead() {
@ -88,7 +88,7 @@ void IpcServerConnection::onReadyRead() {
// async connections reparent
if (dynamic_cast<IpcServer*>(this->parent()) != nullptr) {
this->deleteLater();
delete this;
}
}

View file

@ -288,16 +288,10 @@ void ProxyWindowBase::setVisibleDirect(bool visible) {
this->bBackerVisibility = false;
this->deleteWindow();
}
} else {
if (visible && this->window == nullptr) {
this->createWindow();
}
if (this->window != nullptr) {
if (visible) this->polishItems();
this->window->setVisible(visible);
this->bBackerVisibility = visible;
}
} else if (this->window != nullptr) {
if (visible) this->polishItems();
this->window->setVisible(visible);
this->bBackerVisibility = visible;
}
}