1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 01:09:41 +00:00

Merge branch 'delegate_crash_fix' into 'master'

Add a missing null pointer check

See merge request OpenMW/openmw!4210
This commit is contained in:
Evil Eye 2024-06-29 07:54:17 +00:00
commit 72b62f845e

View file

@ -45,7 +45,8 @@ CSVWorld::DataDisplayDelegate::DataDisplayDelegate(const ValueList& values, cons
, mUiScale(static_cast<QGuiApplication*>(QGuiApplication::instance())->devicePixelRatio())
, mSettingKey(pageName + '/' + settingName)
{
parent->installEventFilter(this);
if (parent)
parent->installEventFilter(this);
buildPixmaps();