summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2010-04-26 17:50:28 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2010-04-27 07:51:33 (GMT)
commitf5775675df4941f5aff078f547eb34b9d9af9202 (patch)
tree21ed09f412880179685bc7b03a1b897b446484ec /src/gui/kernel/qwidget.cpp
parent2648d5a2dc6ad4dee9ac685330b000a34339a758 (diff)
downloadQt-f5775675df4941f5aff078f547eb34b9d9af9202.zip
Qt-f5775675df4941f5aff078f547eb34b9d9af9202.tar.gz
Qt-f5775675df4941f5aff078f547eb34b9d9af9202.tar.bz2
Revert "QDialog: user-moved dialog would not show on the same place after hide"
This reverts commit 434d2312b63090cfd2ba7e0f3728b5b225bcaeec. This patch was partially wrong and introduced some unwanted effects on KDE and Windows. And it's probably not the righ solution.
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 441e823..b59824c 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -7307,9 +7307,9 @@ void QWidgetPrivate::show_helper()
setVisible(false).
- \note Since Qt 4.7, when calling hide() and then show() on QDialog
- derived widgets will show on the previous (as in "Where the user moved it to")
- position.
+ \note If you are working with QDialog or its subclasses and you invoke
+ the show() function after this function, the dialog will be displayed in
+ its original position.
\sa hideEvent(), isHidden(), show(), setVisible(), isVisible(), close()
*/