Commit 2e2f52d2 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
parent 1b6d0046
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
QVector<int> listToVector(const QList<long long> &list); QVector<int> listToVector(const QList<long long> &list);
QVector<int> listToVector(const QVariantList &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 // 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