summaryrefslogtreecommitdiff
path: root/src/client/shellintegration/qwaylandshellintegrationfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shellintegration/qwaylandshellintegrationfactory.cpp')
-rw-r--r--src/client/shellintegration/qwaylandshellintegrationfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/shellintegration/qwaylandshellintegrationfactory.cpp b/src/client/shellintegration/qwaylandshellintegrationfactory.cpp
index c8d29e27..feedb27c 100644
--- a/src/client/shellintegration/qwaylandshellintegrationfactory.cpp
+++ b/src/client/shellintegration/qwaylandshellintegrationfactory.cpp
@@ -12,18 +12,18 @@ QT_BEGIN_NAMESPACE
namespace QtWaylandClient {
-Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
+Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, qwsifLoader,
(QWaylandShellIntegrationFactoryInterface_iid, QLatin1String("/wayland-shell-integration"), Qt::CaseInsensitive))
QStringList QWaylandShellIntegrationFactory::keys()
{
- return loader->keyMap().values();
+ return qwsifLoader->keyMap().values();
}
QWaylandShellIntegration *QWaylandShellIntegrationFactory::create(const QString &name, QWaylandDisplay *display, const QStringList &args)
{
std::unique_ptr<QWaylandShellIntegration> integration;
- integration.reset(qLoadPlugin<QWaylandShellIntegration, QWaylandShellIntegrationPlugin>(loader(), name, args));
+ integration.reset(qLoadPlugin<QWaylandShellIntegration, QWaylandShellIntegrationPlugin>(qwsifLoader(), name, args));
if (integration && !integration->initialize(display))
return nullptr;