mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-18 19:16:37 +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,6 +45,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
if (parent)
|
||||||
parent->installEventFilter(this);
|
parent->installEventFilter(this);
|
||||||
|
|
||||||
buildPixmaps();
|
buildPixmaps();
|
||||||
|
|
Loading…
Reference in a new issue