mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 00:39:58 +00:00
Add a missing null pointer check
This commit is contained in:
parent
daada262d7
commit
5390634e22
@ -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