mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-01-15 19:23:36 -05:00
Deprecate Shell::useLayerShell()
it's not needed since Qt 6.5 and can potentially leak the environment variable.
This commit is contained in:
@ -5,6 +5,9 @@
|
||||
*/
|
||||
|
||||
#include "shell.h"
|
||||
|
||||
#if LAYERSHELLQTINTERFACE_BUILD_DEPRECATED_SINCE(6, 6)
|
||||
|
||||
#include <QByteArray>
|
||||
#include <layershellqt_logging.h>
|
||||
#include <qglobal.h>
|
||||
@ -18,3 +21,4 @@ void Shell::useLayerShell()
|
||||
qCDebug(LAYERSHELLQT) << "Unable to set QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user