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