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:
Chocobo1
2025-10-31 14:19:52 +08:00
committed by GitHub
parent bc22e8929c
commit ee62dd3cda
6 changed files with 27 additions and 25 deletions

View File

@@ -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);