From 9aebd1e1a639b56ff8b75a5cdcd26115c430debf Mon Sep 17 00:00:00 2001 From: xibowen Date: Fri, 2 Feb 2024 09:36:30 +0800 Subject: [PATCH] Fix remove libkysdk-system error --- polkit-agent/src/PolkitListener.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polkit-agent/src/PolkitListener.cpp b/polkit-agent/src/PolkitListener.cpp index 5da341a..b3d7f39 100644 --- a/polkit-agent/src/PolkitListener.cpp +++ b/polkit-agent/src/PolkitListener.cpp @@ -36,7 +36,7 @@ #include "mainwindow.h" #include "generic.h" -#ifdef KDK_INFOFOUND +#ifdef KDKINFO_FOUND #include #endif @@ -57,7 +57,7 @@ PolkitListener::~PolkitListener() bool PolkitListener::isMavis() { -#ifdef KDK_INFOFOUND +#ifdef KDKINFO_FOUND char *prjName = kdk_system_get_projectName(); #else char *prjName; @@ -77,7 +77,7 @@ bool PolkitListener::isMavis() bool PolkitListener::isSupportTableMode() { -#ifdef KDK_INFOFOUND +#ifdef KDKINFO_FOUND unsigned int nFeature = kdk_system_get_productFeatures(); #else unsigned int nFeature;