From 0f1526ed258281f70000b0cfc0134e8087504c7a Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Mon, 7 Oct 2024 12:26:15 +0200 Subject: [PATCH] Lua: Remove unsupported Flags State and GenericStateLocation are only supported with Qt 6.7 and onwards Change-Id: I48490a090c04185706b793b70238037393a5d7bf Reviewed-by: Jarek Kobus --- src/plugins/lua/bindings/qt.cpp | 7 ++----- src/plugins/lua/meta/qt.lua | 2 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/plugins/lua/bindings/qt.cpp b/src/plugins/lua/bindings/qt.cpp index 8b8cef7301a..6f4daeb5862 100644 --- a/src/plugins/lua/bindings/qt.cpp +++ b/src/plugins/lua/bindings/qt.cpp @@ -152,11 +152,8 @@ void setupQtModule() "AppDataLocation", QStandardPaths::AppDataLocation, "AppConfigLocation", QStandardPaths::AppConfigLocation, "PublicShareLocation", QStandardPaths::PublicShareLocation, - "TemplatesLocation", QStandardPaths::TemplatesLocation, - "StateLocation", QStandardPaths::StateLocation, - "GenericStateLocation", QStandardPaths::GenericStateLocation - ) - ); + "TemplatesLocation", QStandardPaths::TemplatesLocation + )); // clang-format on return qt; diff --git a/src/plugins/lua/meta/qt.lua b/src/plugins/lua/meta/qt.lua index 0c819164c46..168c8092171 100644 --- a/src/plugins/lua/meta/qt.lua +++ b/src/plugins/lua/meta/qt.lua @@ -134,8 +134,6 @@ qt.QStandardPaths = { AppConfigLocation = 0, PublicShareLocation = 0, TemplatesLocation = 0, - StateLocation = 0, - GenericStateLocation = 0, } }