summaryrefslogtreecommitdiffstats
path: root/src/libgui/toplevel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/toplevel.cpp')
-rw-r--r--src/libgui/toplevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgui/toplevel.cpp b/src/libgui/toplevel.cpp
index fa70706..f087a4a 100644
--- a/src/libgui/toplevel.cpp
+++ b/src/libgui/toplevel.cpp
@@ -688,7 +688,7 @@ void MainWindow::updateToolViewsActions()
void MainWindow::initDockPosition(const DockData &ddata)
{
const DockPosition &pos = ddata.position;
- ddata.dock->manualDock(manager()->getDockWidgetFromName(pos.tqparent), pos.pos, pos.space);
+ ddata.dock->manualDock(manager()->getDockWidgetFromName(pos.parent), pos.pos, pos.space);
}
void MainWindow::resetDockLayout()