From 4baa045b77ef98f269bec4cab410229a89e644c5 Mon Sep 17 00:00:00 2001 From: Norwegian Rock Cat Date: Mon, 4 May 2009 17:46:20 +0200 Subject: Fix typos in doc. Spotted-by: Olivier --- doc/src/exportedfunctions.qdoc | 2 +- doc/src/qnamespace.qdoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/exportedfunctions.qdoc b/doc/src/exportedfunctions.qdoc index b421086..f051ddc 100644 --- a/doc/src/exportedfunctions.qdoc +++ b/doc/src/exportedfunctions.qdoc @@ -130,7 +130,7 @@ default. In Qt 4.6, this is equivalent to - \c { QApplication::instance()->setAttribute(Qt::AA_MacDontUseNativeMenuBar); }. + \c { QApplication::instance()->setAttribute(Qt::AA_DontUseNativeMenuBar); }. \section1 void qt_mac_set_press_and_hold_context(bool \e{enable}) diff --git a/doc/src/qnamespace.qdoc b/doc/src/qnamespace.qdoc index 8a1e5e6..ad59b8d 100644 --- a/doc/src/qnamespace.qdoc +++ b/doc/src/qnamespace.qdoc @@ -146,11 +146,11 @@ widgets stay non-native unless specifically set by the Qt::WA_NativeWindow attribute. - \value AA_MacPluginApplication Stops the a Qt mac application from doing + \value AA_MacPluginApplication Stops the Qt mac application from doing specific initializations that do not necessarily make sense when using Qt to author a plugin. This includes avoiding loading our nib for the main menu and not taking possession of the native menu bar. When setting this - attribute to true will alse set the AA_MacDontUseNativeMenuBar attribute + attribute to true will also set the AA_DontUseNativeMenuBar attribute to true. \value AA_DontUseNativeMenuBar All menubars created while this attribute is -- cgit v0.12