Correct reference to nonexistent Qt::QA_Window flag in documenation.
authorMitch Curtis <mitch.curtis@nokia.com>
Tue, 24 Jul 2012 11:15:47 +0000 (13:15 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jul 2012 22:59:43 +0000 (00:59 +0200)
Should be Qt::Window.

Task-number: QTBUG-22725
Change-Id: I150e77dec9c93035e01cf2e6be68a54bb4b122b2
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
src/widgets/doc/src/windows-and-dialogs/mainwindow.qdoc

index 3c17566..99acb2e 100644 (file)
     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