mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 02:12:51 +00:00
kinfocenter: use KStandardDirs::installPath() to get the library path
slightly more flexible Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
cb2d6f4bcc
commit
aa239e5701
2 changed files with 2 additions and 4 deletions
|
@ -9,8 +9,5 @@
|
|||
/* KDE's default home directory */
|
||||
#cmakedefine KDE_DEFAULT_HOME "${KDE_DEFAULT_HOME}"
|
||||
|
||||
/* KDE's static libraries directory */
|
||||
#define KDE_LIBDIR "${KDE4_LIB_INSTALL_DIR}"
|
||||
|
||||
/* KDE's system configuration directory */
|
||||
#define KDE_SYSCONFDIR "${KDE4_SYSCONF_INSTALL_DIR}"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <kaboutdata.h>
|
||||
#include <kglobal.h>
|
||||
#include <kicon.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <kdebug.h>
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginLoader>
|
||||
|
@ -34,7 +35,7 @@
|
|||
static const QStringList s_firmwarepaths = QStringList()
|
||||
<< "/lib/firmware"
|
||||
<< "/usr/lib/firmware"
|
||||
<< KDE_LIBDIR "/firmware";
|
||||
<< KStandardDirs::installPath("lib") + "firmware";
|
||||
|
||||
K_PLUGIN_FACTORY(KCMKernelFactory, registerPlugin<KCMKernel>();)
|
||||
K_EXPORT_PLUGIN(KCMKernelFactory("kcmkernel"))
|
||||
|
|
Loading…
Add table
Reference in a new issue