diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-01 01:22:38 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-01 01:22:38 (GMT) |
commit | 0d5e900da30192872cbfba98d81f6b0932d94821 (patch) | |
tree | 34322764293bd0ce9fee4a483e0b2c4fade99d7c /src/gui | |
parent | 349b6c734aa7af85f3709312325c3b2e9abdad2b (diff) | |
download | Qt-0d5e900da30192872cbfba98d81f6b0932d94821.zip Qt-0d5e900da30192872cbfba98d81f6b0932d94821.tar.gz Qt-0d5e900da30192872cbfba98d81f6b0932d94821.tar.bz2 |
Fix a few typos in comments and docs.
Task-number: QTBUG-13714
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qcocoamenuloader_mac.mm | 2 | ||||
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qcocoamenuloader_mac.mm b/src/gui/kernel/qcocoamenuloader_mac.mm index 8d38f45..4bf6ed9 100644 --- a/src/gui/kernel/qcocoamenuloader_mac.mm +++ b/src/gui/kernel/qcocoamenuloader_mac.mm @@ -89,7 +89,7 @@ QT_USE_NAMESPACE - (void)ensureAppMenuInMenu:(NSMenu *)menu { // The application menu is the menu in the menu bar that contains the - // 'Quit' item. When changing menu bar (e.g when swithing between + // 'Quit' item. When changing menu bar (e.g when switching between // windows with different menu bars), we never recreate this menu, but // instead pull it out the current menu bar and place into the new one: NSMenu *mainMenu = [NSApp mainMenu]; diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index ac9b994..8a1c154 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -446,7 +446,7 @@ QRegion QWidgetBackingStore::dirtyRegion(QWidget *widget) const /*! Returns the static content inside the \a parent if non-zero; otherwise the static content - for the entire backing store is returned. The content will be clipped to \a withingClipRect + for the entire backing store is returned. The content will be clipped to \a withinClipRect if non-empty. */ QRegion QWidgetBackingStore::staticContents(QWidget *parent, const QRect &withinClipRect) const |