Deprecate Shell::useLayerShell()

it's not needed since Qt 6.5 and can potentially leak the environment
variable.
This commit is contained in:
David Redondo
2025-12-18 15:20:57 +01:00
parent b9e1260949
commit 9ddf87a444
4 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,9 @@
#define LAYERSHELLQTSHELL_H
#include "layershellqt_export.h"
#include "window.h"
#if LAYERSHELLQTINTERFACE_ENABLE_DEPRECATED_SINCE(6, 6)
#include <QString>
namespace LayerShellQt
@ -19,9 +21,11 @@ namespace LayerShellQt
class LAYERSHELLQT_EXPORT Shell
{
public:
LAYERSHELLQTINTERFACE_DEPRECATED_VERSION(6, 6, "Calling useLayerShell is not needed since Qt 6.5")
static void useLayerShell();
};
}
#endif
#endif