1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 04:02:50 +01:00

Fix removing of wallpaper

This commit is contained in:
Elias 2019-02-09 16:52:35 +01:00
parent 23e6601d10
commit 476d1b6a34

View File

@ -49,7 +49,12 @@ public:
connect(m_socket, &QLocalSocket::disconnected, this, &SDKConnection::close);
}
~SDKConnection (){
qDebug() << "Terminating connection object";
// We need to call this manually because
// sometimes it wont close the connection in
// the descructor
m_socket->disconnect();
m_socket->disconnectFromServer();
}
QString appID() const