summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/formeditor/qmainwindow_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/formeditor/qmainwindow_container.cpp')
-rw-r--r--src/designer/src/components/formeditor/qmainwindow_container.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/components/formeditor/qmainwindow_container.cpp b/src/designer/src/components/formeditor/qmainwindow_container.cpp
index 67ccaae59..cfaee7f71 100644
--- a/src/designer/src/components/formeditor/qmainwindow_container.cpp
+++ b/src/designer/src/components/formeditor/qmainwindow_container.cpp
@@ -88,7 +88,7 @@ void QMainWindowContainer::setCurrentIndex(int index)
namespace {
// Pair of <area,break_before>
typedef QPair<Qt::ToolBarArea,bool> ToolBarData;
-
+
ToolBarData toolBarData(QToolBar *me) {
const QMainWindow *mw = qobject_cast<const QMainWindow*>(me->parentWidget());
if (!mw || !mw->layout() || mw->layout()->indexOf(me) == -1)
@@ -96,7 +96,7 @@ namespace {
return ToolBarData(mw->toolBarArea(me), mw->toolBarBreak(me));
}
-Qt::DockWidgetArea dockWidgetArea(QDockWidget *me)
+Qt::DockWidgetArea dockWidgetArea(QDockWidget *me)
{
if (const QMainWindow *mw = qobject_cast<const QMainWindow*>(me->parentWidget())) {
// Make sure that me is actually managed by mw, otherwise