some hopefully useful debug output
svn path=/trunk/KDE/kdelibs/; revision=909629
This commit is contained in:
parent
13116aaea9
commit
fbd38ee3d9
@ -1934,10 +1934,13 @@ void AppletPrivate::init()
|
||||
void AppletPrivate::setupScriptSupport()
|
||||
{
|
||||
Q_ASSERT(package);
|
||||
kDebug() << "setting up script support, package is in" << package->path()
|
||||
<< "which is a" << package->structure()->type() << "package"
|
||||
<< ", main script is" << package->filePath("mainscript");
|
||||
|
||||
QString xmlPath = package->filePath("mainconfigxml");
|
||||
if (!xmlPath.isEmpty()) {
|
||||
QFile file(xmlPath);
|
||||
// FIXME: KConfigSkeleton doesn't play well with KConfigGroup =/
|
||||
KConfigGroup config = q->config();
|
||||
configLoader = new ConfigLoader(&config, &file);
|
||||
QObject::connect(configLoader, SIGNAL(configChanged()), q, SLOT(configChanged()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user