look for elements in the translucent folder when we have the blurback effect enabled
svn path=/trunk/KDE/kdelibs/; revision=1108402
This commit is contained in:
parent
621ead5280
commit
aa4544bd78
@ -41,6 +41,8 @@
|
|||||||
#include <kstandarddirs.h>
|
#include <kstandarddirs.h>
|
||||||
#include <kwindowsystem.h>
|
#include <kwindowsystem.h>
|
||||||
|
|
||||||
|
|
||||||
|
#include "windoweffects.h"
|
||||||
#include "private/packages_p.h"
|
#include "private/packages_p.h"
|
||||||
#include "libplasma-theme-global.h"
|
#include "libplasma-theme-global.h"
|
||||||
|
|
||||||
@ -201,6 +203,9 @@ QString ThemePrivate::findInTheme(const QString &image, const QString &theme) co
|
|||||||
} else if (!compositingActive) {
|
} else if (!compositingActive) {
|
||||||
search = "desktoptheme/" + theme + "/opaque/" + image;
|
search = "desktoptheme/" + theme + "/opaque/" + image;
|
||||||
search = KStandardDirs::locate("data", search);
|
search = KStandardDirs::locate("data", search);
|
||||||
|
} else if (WindowEffects::isEffectAvailable(WindowEffects::BlurBehind)) {
|
||||||
|
search = "desktoptheme/" + theme + "/translucent/" + image;
|
||||||
|
search = KStandardDirs::locate("data", search);
|
||||||
}
|
}
|
||||||
|
|
||||||
//not found or compositing enabled
|
//not found or compositing enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user