Commit 8734e3b1 authored by Halla Rempt's avatar Halla Rempt

Remove unused function

parent 5a973095
......@@ -39,13 +39,6 @@ static inline bool hasFeature(const QDockWidget *dockwidget, QDockWidget::DockWi
{
return (dockwidget->features() & feature) == feature;
}
static inline QDockWidget *parentDock(QWidget *w)
{
while(w && qobject_cast<QDockWidget*>(w) == 0) {
w = w->parentWidget();
}
return qobject_cast<QDockWidget*>(w);
}
KoDockWidgetTitleBar::KoDockWidgetTitleBar(QDockWidget* dockWidget)
: QWidget(dockWidget), d(new Private(this))
......
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