From b7ab608bd243e2c6448ebb5ee513709435bb5fa9 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 24 Jul 2012 13:15:47 +0200 Subject: [PATCH] Correct reference to nonexistent Qt::QA_Window flag in documenation. Should be Qt::Window. Task-number: QTBUG-22725 Change-Id: I150e77dec9c93035e01cf2e6be68a54bb4b122b2 Reviewed-by: Geir Vattekar --- src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc b/src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc index 3c175669fb3..99acb2e5d01 100644 --- a/src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc +++ b/src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc @@ -56,13 +56,13 @@ window in the application, the \e{primary window}. In addition, a QWidget that has a parent can become a window by setting the - \l{Qt::WindowType}{Qt::WA_Window} flag. Depending on the window management system + Qt::Window flag. Depending on the window management system such \e{secondary windows} are usually stacked on top of their respective parent window, and not have a task bar entry of their own. - The QMainWindow and the QDialog classes set the Qt::WA_Window flag in their - constructor, as they are designed to be used as windows and provide facilities - that are not wanted for child widgets. + The QMainWindow class sets the Qt::Window flag in its constructor, + as it is designed to be used as a window and provides facilities that are + not wanted for child widgets. \section1 Main Windows and Dialogs