diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2011-04-14 04:47:16 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2011-04-14 04:47:16 (GMT) |
commit | cc3bcc003048760a501debe49b6fcebffaac3cef (patch) | |
tree | 5d8d8e5ea0cd1c9dffc6abd3e6e40058536236c8 /doc/src/snippets/accessibilityfactorysnippet.cpp | |
parent | a5d5971586d0a12e55374dae30e17454bca12600 (diff) | |
parent | 662174b78b7e08c759d0086e215e81e9e0eaf0c5 (diff) | |
download | Qt-cc3bcc003048760a501debe49b6fcebffaac3cef.zip Qt-cc3bcc003048760a501debe49b6fcebffaac3cef.tar.gz Qt-cc3bcc003048760a501debe49b6fcebffaac3cef.tar.bz2 |
Merge branch 'master' of ../qt-qml-staging
Diffstat (limited to 'doc/src/snippets/accessibilityfactorysnippet.cpp')
-rw-r--r-- | doc/src/snippets/accessibilityfactorysnippet.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/snippets/accessibilityfactorysnippet.cpp b/doc/src/snippets/accessibilityfactorysnippet.cpp index a378db7..6dc6b2a 100644 --- a/doc/src/snippets/accessibilityfactorysnippet.cpp +++ b/doc/src/snippets/accessibilityfactorysnippet.cpp @@ -45,9 +45,8 @@ QAccessibleInterface *sliderFactory(const QString &classname, QObject *object) { QAccessibleInterface *interface = 0; - if (classname == "QSlider" && object && object->isWidgetType()) - interface = new SliderInterface(classname, - static_cast<QWidget *>(object)); + if (classname == QLatin1String("QSlider") && object && object->isWidgetType()) + interface = new QAccessibleSlider(static_cast<QWidget *>(object)); return interface; } |