'Update dockwidgets features settings'

def apply_panes_settings(self):

    for child in self.widgetlist:
        features = child.FEATURES
        if CONF.get('main', 'vertical_dockwidget_titlebars'):
            features = (features | QDockWidget.DockWidgetVerticalTitleBar)
        if (not self.dockwidgets_locked):
            features = (features | QDockWidget.DockWidgetMovable)
        child.dockwidget.setFeatures(features)
        child.update_margins()
