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:
commit
72b62f845e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue