Skip to content
Commit 1ba10651 authored by Jonathan Schultz's avatar Jonathan Schultz Committed by Albert Astals Cid
Browse files

Fix bug in kfiledialog.cpp that causes crashing when native widgets are used.

This patch makes kfiledialog functions that did not already do so test the value of d->native before referencing d->w. This is important because if d->native is non-null then d->w will be null and referencing it cause an immediate crash. This was the case on Windows builds of okular when the file chooser was opened.

BUGS: 364086
Differential Revision: https://phabricator.kde.org/D2075
parent cba9075a
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