Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/serverdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,13 @@ void CServerDlg::closeEvent ( QCloseEvent* Event )

// default implementation of this event handler routine
Event->accept();

// On some desktop environments (observed on KDE with Qt 5.15, Ubuntu 22.04+
// and Fedora 37+) closing the server GUI only hides the window while the
// process and system tray icon keep running (#3016). Explicitly quitting the
// application on close restores the expected behaviour. This is a pragmatic
// fix; a signals/slots-based shutdown may be the cleaner long-term solution.
QApplication::quit();
}

void CServerDlg::OnStartOnOSStartStateChanged ( int value )
Expand Down
1 change: 1 addition & 0 deletions src/serverdlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

#pragma once

#include <QApplication>
#include <QCloseEvent>
#include <QLabel>
#include <QListView>
Expand Down
Loading