aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/adaptations
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2016-08-04 11:55:28 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2016-08-04 11:36:42 +0000
commitfdc3dcd43f8944eb33e778627c43ab9487a26960 (patch)
tree85ae098633f6b549def24d6198a7d2afe98c8ecf /src/quick/scenegraph/adaptations
parentf36baf1e276457871c6c0233b4b95d01fa01a3c3 (diff)
QSGSoftwareAdaptation: Also claim the "softwarecontext" key
This key was formerly used by the external plugin, so we should continue to respect it to maintain compatibility with it. Change-Id: I76118250d8ce94aad200c6d4d9f00b8f8cd968ea Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/adaptations')
-rw-r--r--src/quick/scenegraph/adaptations/software/qsgsoftwareadaptation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwareadaptation.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwareadaptation.cpp
index 144e75d3e6..8ad9b50b09 100644
--- a/src/quick/scenegraph/adaptations/software/qsgsoftwareadaptation.cpp
+++ b/src/quick/scenegraph/adaptations/software/qsgsoftwareadaptation.cpp
@@ -54,7 +54,7 @@ QSGSoftwareAdaptation::QSGSoftwareAdaptation(QObject *parent)
QStringList QSGSoftwareAdaptation::keys() const
{
- return QStringList() << QLatin1String("software");
+ return QStringList() << QLatin1String("software") << QLatin1String("softwarecontext");
}
QSGContext *QSGSoftwareAdaptation::create(const QString &) const