Commit 77e7b53c authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Properly initialize the parent widget to nullptr in ProcessController

Otherwise we end up sending some garbage pointer address to KAuth which
will crash trying to dereference it.

BUG: 434074


(cherry picked from commit 2e2f52d2)
parent 24afd591
......@@ -46,7 +46,7 @@ public:
QVector<int> listToVector(const QList<long long> &list);
QVector<int> listToVector(const QVariantList &list);
QWidget *widget;
QWidget *widget = nullptr;
};
// Note: This instance is only to have access to the platform-specific code
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment