Commit c5875d0b authored by Christian Kandeler's avatar Christian Kandeler

NavigationWidget: Add missing return statement.

The activateSubWidget() function recently got a return type.

Change-Id: I3fe5434bc891c31b6d8a9e07a903eb959316b0a2
Reviewed-by: default avatarEike Ziller <>
parent a40646fd
...@@ -288,6 +288,7 @@ QWidget *NavigationWidget::activateSubWidget(Id factoryId) ...@@ -288,6 +288,7 @@ QWidget *NavigationWidget::activateSubWidget(Id factoryId)
ICore::raiseWindow(this); ICore::raiseWindow(this);
return d->m_subWidgets.first()->widget(); return d->m_subWidgets.first()->widget();
} }
return nullptr;
} }
void NavigationWidget::splitSubWidget(int factoryIndex) void NavigationWidget::splitSubWidget(int factoryIndex)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment