mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-11 00:44:33 +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())
|
, mUiScale(static_cast<QGuiApplication*>(QGuiApplication::instance())->devicePixelRatio())
|
||||||
, mSettingKey(pageName + '/' + settingName)
|
, mSettingKey(pageName + '/' + settingName)
|
||||||
{
|
{
|
||||||
parent->installEventFilter(this);
|
if (parent)
|
||||||
|
parent->installEventFilter(this);
|
||||||
|
|
||||||
buildPixmaps();
|
buildPixmaps();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user