Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 258758 | Differences between
and this patch

Collapse All | Expand All

(-)applets/lancelot/libs/lancelot/Global.cpp (+5 lines)
Lines 324-330 Link Here
324
324
325
    d->confMain = new KConfig("lancelot" + app + "rc");
325
    d->confMain = new KConfig("lancelot" + app + "rc");
326
326
327
    Plasma::Theme::defaultTheme()->setUseGlobalSettings(true);
328
    qDebug() << "What is the plasma theme: " << Plasma::Theme::defaultTheme()->themeName();
327
    QString search = "desktoptheme/" + Plasma::Theme::defaultTheme()->themeName() + "/lancelot/" + app + "theme.config";
329
    QString search = "desktoptheme/" + Plasma::Theme::defaultTheme()->themeName() + "/lancelot/" + app + "theme.config";
330
    qDebug() << "Trying:" << search;
328
331
329
    QString path =  KStandardDirs::locate( "data", search );
332
    QString path =  KStandardDirs::locate( "data", search );
330
    if (path.isEmpty()) {
333
    if (path.isEmpty()) {
Lines 334-339 Link Here
334
    if (path.isEmpty()) {
337
    if (path.isEmpty()) {
335
        path = "lancelotrc";
338
        path = "lancelotrc";
336
    }
339
    }
340
341
    qDebug() << "Using theme:" << path;
337
    d->confTheme = new KConfig(path);
342
    d->confTheme = new KConfig(path);
338
343
339
    Instance::Private::activeInstance = this;
344
    Instance::Private::activeInstance = this;

Return to bug 258758