mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +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:
commit
72b62f845e
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user