Fix server buffer integration override logic
Assign to the actual variable instead of a new one with the same name. Change-Id: I9e4c3525891ff53f0194198b9c11f223df4c14a9 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
This commit is contained in:
parent
f35dc39ae9
commit
1a0939a8de
@ -359,7 +359,7 @@ void QWaylandIntegration::initializeServerBufferIntegration()
|
||||
disableHardwareIntegration = disableHardwareIntegration || !mDisplay->hardwareIntegration();
|
||||
if (disableHardwareIntegration) {
|
||||
QByteArray serverBufferIntegrationName = qgetenv("QT_WAYLAND_SERVER_BUFFER_INTEGRATION");
|
||||
QString targetKey = QString::fromLocal8Bit(serverBufferIntegrationName);
|
||||
targetKey = QString::fromLocal8Bit(serverBufferIntegrationName);
|
||||
} else {
|
||||
targetKey = mDisplay->hardwareIntegration()->serverBufferIntegration();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user