refactor: MainWindow use static for cleanup of QLocalServer

This commit is contained in:
sithlord48
2025-08-14 19:50:25 -04:00
committed by Nick Bolton
parent 0d7d21aeb2
commit 6c6e5fc4d2

View File

@ -136,7 +136,7 @@ MainWindow::MainWindow()
// Setup the Instance Checking
// In case of a previous crash remove first
m_guiDupeChecker->removeServer(m_guiSocketName);
QLocalServer::removeServer(m_guiSocketName);
m_guiDupeChecker->listen(m_guiSocketName);
createMenuBar();