summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 76ffed31..00796a53 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -613,7 +613,8 @@ utils::centerWidget(QWidget *widget, QWidget *parent) }; if (parent) { - widget->move(findCenter(parent->geometry())); + widget->move(parent->window()->frameGeometry().topLeft() + + parent->window()->rect().center() - widget->rect().center()); return; }