diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-01 02:35:46 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-01 02:35:46 (GMT) |
commit | c046fc774ebfabfe83f197d8423c37a34404ad9a (patch) | |
tree | 8c99279f42a1ce32d845b4dfda5fb6e17fc92a1f /src/gui/styles/qstyle.cpp | |
parent | 0d5e900da30192872cbfba98d81f6b0932d94821 (diff) | |
download | Qt-c046fc774ebfabfe83f197d8423c37a34404ad9a.zip Qt-c046fc774ebfabfe83f197d8423c37a34404ad9a.tar.gz Qt-c046fc774ebfabfe83f197d8423c37a34404ad9a.tar.bz2 |
Fix poor English in QStyle::polish documentation.
Task-number: QTBUG-10538
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/styles/qstyle.cpp')
-rw-r--r-- | src/gui/styles/qstyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/styles/qstyle.cpp b/src/gui/styles/qstyle.cpp index 0a75492..3ebfab2 100644 --- a/src/gui/styles/qstyle.cpp +++ b/src/gui/styles/qstyle.cpp @@ -367,10 +367,10 @@ QStyle::~QStyle() Note that the default implementation does nothing. Reasonable actions in this function might be to call the QWidget::setBackgroundMode() function for the widget. Do not use - the function to set, for example, the geometry; reimplementing - this function do provide a back-door through which the appearance - of a widget can be changed, but with Qt 4.0's style engine there - is rarely necessary to implement this function; reimplement the + the function to set, for example, the geometry. Reimplementing + this function provides a back-door through which the appearance + of a widget can be changed, but with Qt's style engine it is + rarely necessary to implement this function; reimplement drawItemPixmap(), drawItemText(), drawPrimitive(), etc. instead. The QWidget::inherits() function may provide enough information to |