libs: remove unused configuration checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-04-27 23:53:31 +03:00
parent 5144677e0d
commit 24e340ac0f
6 changed files with 1 additions and 15 deletions

View file

@ -1,5 +1,3 @@
configure_file(config-ksysguard.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksysguard.h)
########### next target ###############
add_subdirectory( lsofui )

View file

@ -1,6 +0,0 @@
/* Define to 1 if you have the <sys/endian.h> header file. */
#cmakedefine HAVE_SYS_ENDIAN_H 1
/* Define to 1 if you have the <byteswap.h> header file. */
#cmakedefine HAVE_BYTESWAP_H 1

View file

@ -1,9 +1,6 @@
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../ ../processcore/)
check_include_files(sys/endian.h HAVE_SYS_ENDIAN_H)
check_include_files(byteswap.h HAVE_BYTESWAP_H)
set(processui_LIB_SRCS
ksysguardprocesslist.cpp
ProcessFilter.cpp

View file

@ -55,7 +55,6 @@ struct WindowInfo {
WId wid;
QString name;
};
#include "../config-ksysguard.h"
#include "config-X11.h"
#endif

View file

@ -24,14 +24,12 @@
#include "moc_ksysguardprocesslist.cpp"
#include "ksysguardprocesslist.h"
#include "../config-ksysguard.h"
#include "config-X11.h"
#include <QApplication>
#include <QTimer>
#include <QList>
#include <QtGui/qevent.h>
#include <QtGui/qevent.h>
#include <QHeaderView>
#include <QAction>
#include <QMenu>

View file

@ -196,7 +196,7 @@ void KDisplayManager::newSession()
QDBusInterface lightdmiface(
"org.freedesktop.DisplayManager",
qgetenv("XDG_SEAT_PATH"),
QLatin1String("org.freedesktop.DisplayManager.Seat"),
"org.freedesktop.DisplayManager.Seat",
QDBusConnection::systemBus()
);
if (lightdmiface.isValid()) {