|
|
|
@ -42,8 +42,10 @@
|
|
|
|
|
#include <tdefilemetainfo.h>
|
|
|
|
|
#include <tdeglobal.h>
|
|
|
|
|
#include <kiconeffect.h>
|
|
|
|
|
#include <kimageeffect.h>
|
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
#include <kstringhandler.h>
|
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
|
|
|
|
|
|
#include "playlistitem.h"
|
|
|
|
|
|
|
|
|
@ -986,6 +988,10 @@ void PlaylistItem::imageTransparency( TQImage& image, float factor ) //static
|
|
|
|
|
c = data[i]; // Memory access is slow, so do it only once
|
|
|
|
|
data[i] = tqRgba( tqRed( c ), tqGreen( c ), tqBlue( c ), table[tqAlpha( c )] );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (kapp->isX11CompositionAvailable()) {
|
|
|
|
|
image = KImageEffect::convertToPremultipliedAlpha(image);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AtomicString PlaylistItem::artist_album() const
|
|
|
|
|