From f5a394a5051384a930d635da22ccafc6beb1cb84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Jan 2010 17:19:24 +0200 Subject: Change code style --- src/gui/textdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/textdialog.cpp') diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp index 8430e974..326954e2 100644 --- a/src/gui/textdialog.cpp +++ b/src/gui/textdialog.cpp @@ -57,7 +57,8 @@ TextDialog::TextDialog(const std::string &title, const std::string &msg, add(mOkButton); add(cancelButton); - if (getParent()) { + if (getParent()) + { setLocationRelativeTo(getParent()); getParent()->moveToTop(this); } -- cgit v1.2.3-60-g2f50