Fix remove libkysdk-system error
This commit is contained in:
parent
5bc9b741b4
commit
9aebd1e1a6
|
@ -36,7 +36,7 @@
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
#ifdef KDK_INFOFOUND
|
#ifdef KDKINFO_FOUND
|
||||||
#include <libkysysinfo.h>
|
#include <libkysysinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ PolkitListener::~PolkitListener()
|
||||||
|
|
||||||
bool PolkitListener::isMavis()
|
bool PolkitListener::isMavis()
|
||||||
{
|
{
|
||||||
#ifdef KDK_INFOFOUND
|
#ifdef KDKINFO_FOUND
|
||||||
char *prjName = kdk_system_get_projectName();
|
char *prjName = kdk_system_get_projectName();
|
||||||
#else
|
#else
|
||||||
char *prjName;
|
char *prjName;
|
||||||
|
@ -77,7 +77,7 @@ bool PolkitListener::isMavis()
|
||||||
|
|
||||||
bool PolkitListener::isSupportTableMode()
|
bool PolkitListener::isSupportTableMode()
|
||||||
{
|
{
|
||||||
#ifdef KDK_INFOFOUND
|
#ifdef KDKINFO_FOUND
|
||||||
unsigned int nFeature = kdk_system_get_productFeatures();
|
unsigned int nFeature = kdk_system_get_productFeatures();
|
||||||
#else
|
#else
|
||||||
unsigned int nFeature;
|
unsigned int nFeature;
|
||||||
|
|
Loading…
Reference in New Issue