Fix ARGB mode playlist throbber

Clean up console warnings
pull/1/head
Timothy Pearson 12 years ago
parent 670b8acba2
commit 0c399be5ff

@ -72,8 +72,8 @@
</property>
<property name="minimumSize">
<size>
<width>-1</width>
<height>-1</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">

@ -155,9 +155,9 @@ XineEnumEntry::XineEnumEntry(TQComboBox* input, const TQCString & key, xine_t *x
for( int i = 0; ent.enum_values[i]; ++i )
{
input->insertItem( TQString(TQString::fromLocal8Bit( ent.enum_values[i] )) );
input->setCurrentItem( ent.num_value );
m_val = ent.num_value;
}
input->setCurrentItem( ent.num_value );
m_val = ent.num_value;
}
connect( input, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( entryChanged( int ) ) );
}

@ -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

Loading…
Cancel
Save