diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2012-12-21 15:51:50 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-21 19:05:02 +0100 |
commit | 7706c31eaa686299d7e22da809fec00c0db47c86 (patch) | |
tree | 287228dce1f3b47eff51b44caec6977e89e5353d /src/widgets | |
parent | 21e809a486874b96b15735c94df6f6576ccd5368 (diff) |
Fix some typos
Change-Id: I4e8d9bd8ea66ec810e4f1fbfd8ddbf25c4b3d980
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/styles/qfusionstyle.cpp | 2 | ||||
-rw-r--r-- | src/widgets/styles/qstylehelper.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/styles/qfusionstyle.cpp b/src/widgets/styles/qfusionstyle.cpp index 623cdb55b9..6450ab049b 100644 --- a/src/widgets/styles/qfusionstyle.cpp +++ b/src/widgets/styles/qfusionstyle.cpp @@ -2631,7 +2631,7 @@ void QFusionStyle::drawComplexControl(ComplexControl control, const QStyleOption buttonOption.QStyleOption::operator=(*comboBox); buttonOption.rect = rect; buttonOption.state = (comboBox->state & (State_Enabled | State_MouseOver | State_HasFocus)) - | State_KeyboardFocusChange; // Allways show hig + | State_KeyboardFocusChange; // Always show hig if (sunken) { buttonOption.state |= State_Sunken; diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp index c6e9a8d013..1630130de2 100644 --- a/src/widgets/styles/qstylehelper.cpp +++ b/src/widgets/styles/qstylehelper.cpp @@ -78,7 +78,7 @@ QString uniqueName(const QString &key, const QStyleOption *option, const QSize & qreal dpiScaled(qreal value) { #ifdef Q_OS_MAC - // On mac the DPI is allways 72 so we should not scale it + // On mac the DPI is always 72 so we should not scale it return value; #else static const qreal scale = qreal(qt_defaultDpiX()) / 96.0; |