[TD] remove some more superfluous nullptr checks
This commit is contained in:
@@ -159,7 +159,7 @@ int QGSPage::addQView(QGIView *view)
|
||||
{
|
||||
//don't add twice!
|
||||
QGIView* existing = getQGIVByName(view->getViewName());
|
||||
if (existing == nullptr) {
|
||||
if (!existing) {
|
||||
addItem(view);
|
||||
|
||||
// Find if it belongs to a parent
|
||||
|
||||
Reference in New Issue
Block a user