diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-11 07:01:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-11 07:01:27 +0200 |
commit | 4f422997c26278963217029a6875939b595d0ede (patch) | |
tree | e7f0ffc7b43ac00ea82e260eaa3926b3f09a8351 /options | |
parent | 0db04664d5ee0b054724334ed21ce6239c888c60 (diff) |
options/connector: fix pointless check for nullptr
Diffstat (limited to 'options')
-rw-r--r-- | options/connector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/connector.cpp b/options/connector.cpp index dc4d53f5..8fa59889 100644 --- a/options/connector.cpp +++ b/options/connector.cpp @@ -87,7 +87,7 @@ void connector::on_value_created(const QString& name, const base_value* val) { qWarning() << "options/connector: value created twice;" << "bundle" - << (val && val->b ? val->b->name() : "<NULL>") + << (val->b ? val->b->name() : "<NULL>") << "value-name" << name << "value-ptr" << quintptr(val); } |