mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Do not allow orphan processes
If a process is an orphan (without a parent) then the process won't exit when qbt exits and the process will be still running. This is unwanted behavior. PR #23422.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "base/pathfwd.h"
|
||||
|
||||
class QObject;
|
||||
class QPixmap;
|
||||
class QPoint;
|
||||
class QSize;
|
||||
@@ -52,7 +53,7 @@ namespace Utils::Gui
|
||||
QPoint screenCenter(const QWidget *w);
|
||||
|
||||
void openPath(const Path &path);
|
||||
void openFolderSelect(const Path &path);
|
||||
void openFolderSelect(const Path &path, QObject *parent);
|
||||
|
||||
QString tagToWidgetText(const Tag &tag);
|
||||
Tag widgetTextToTag(const QString &text);
|
||||
|
||||
Reference in New Issue
Block a user