Fix remove libkysdk-system error
This commit is contained in:
parent
5bc9b741b4
commit
9aebd1e1a6
|
@ -36,7 +36,7 @@
|
|||
#include "mainwindow.h"
|
||||
#include "generic.h"
|
||||
|
||||
#ifdef KDK_INFOFOUND
|
||||
#ifdef KDKINFO_FOUND
|
||||
#include <libkysysinfo.h>
|
||||
#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;
|
||||
|
|
Loading…
Reference in New Issue