generic: remove unused definitions from config-prefix header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-02-18 21:06:45 +00:00
parent 8e8837e9df
commit 26644cda72
2 changed files with 1 additions and 10 deletions

View file

@ -2,15 +2,6 @@
#define KDEDIR "${CMAKE_INSTALL_PREFIX}"
/* The compiled in system configuration prefix */
#define KDESYSCONFDIR "${SYSCONF_INSTALL_DIR}"
#define __KDE_BINDIR "${BIN_INSTALL_DIR}"
/* Compile in the exec prefix to help kstddirs in finding dynamic libs
(This was for exec_prefix != prefix - still needed?) */
#define __KDE_EXECPREFIX "NONE"
#define LIBEXEC_INSTALL_DIR "${LIBEXEC_INSTALL_DIR}"
#define DATA_INSTALL_DIR "${DATA_INSTALL_DIR}"
#define LIB_INSTALL_DIR "${LIB_INSTALL_DIR}"

View file

@ -1467,7 +1467,7 @@ void KStandardDirs::addKDEDefaults()
{
xdgdirList.clear();
xdgdirList.append(QString::fromLatin1("/etc/xdg"));
xdgdirList.append(QFile::decodeName(KDESYSCONFDIR "/xdg"));
xdgdirList.append(QFile::decodeName(SYSCONF_INSTALL_DIR "/xdg"));
}
QString localXdgDir = readEnvPath("XDG_CONFIG_HOME");