fix(updater): add parent to dialog to fix issues in tilling WMs

QProgressDialog without parents in Qt tend to cause graphical issues on
some systems, so we add the main window as a parent here!

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2023-06-29 19:09:52 -03:00
committed by Rachel Powers
parent a6c8a37a5d
commit 494483fd2b
3 changed files with 25 additions and 22 deletions

View File

@ -34,7 +34,7 @@ class PrismExternalUpdater : public ExternalUpdater {
Q_OBJECT
public:
PrismExternalUpdater(const QString& appDir, const QString& dataDir);
PrismExternalUpdater(QWidget* parent, const QString& appDir, const QString& dataDir);
~PrismExternalUpdater() override;
/*!