summaryrefslogtreecommitdiff
path: root/src/client/qwaylanddecorationfactory.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-01 14:23:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-13 08:52:06 +0100
commit948fbd1cd64f9d5e129deade61ecd3dbc5f9b60f (patch)
tree6ff5b6cd6a15553a245409e188b5b8f3f01b426a /src/client/qwaylanddecorationfactory.cpp
parentc5a253cc87c75640d828407cc85832d9be28cbbc (diff)
downloadqtwayland-948fbd1cd64f9d5e129deade61ecd3dbc5f9b60f.tar.gz
Disambiguate static variables
They cause clashes in CMake Unity (Jumbo) builds. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: Ia6e293fa30d788f8abd52bf675f11d7d0151259f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylanddecorationfactory.cpp')
-rw-r--r--src/client/qwaylanddecorationfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/qwaylanddecorationfactory.cpp b/src/client/qwaylanddecorationfactory.cpp
index e2f1af2f..b716a4ae 100644
--- a/src/client/qwaylanddecorationfactory.cpp
+++ b/src/client/qwaylanddecorationfactory.cpp
@@ -12,17 +12,17 @@ QT_BEGIN_NAMESPACE
namespace QtWaylandClient {
-Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
+Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, qwdfiLoader,
(QWaylandDecorationFactoryInterface_iid, QLatin1String("/wayland-decoration-client"), Qt::CaseInsensitive))
QStringList QWaylandDecorationFactory::keys()
{
- return loader->keyMap().values();
+ return qwdfiLoader->keyMap().values();
}
QWaylandAbstractDecoration *QWaylandDecorationFactory::create(const QString &name, const QStringList &args)
{
- return qLoadPlugin<QWaylandAbstractDecoration, QWaylandDecorationPlugin>(loader(), name, args);
+ return qLoadPlugin<QWaylandAbstractDecoration, QWaylandDecorationPlugin>(qwdfiLoader(), name, args);
}
}