m_timer(0),
m_closeButton(0)
{
- setMinimumHeight(K3Icon::SizeSmall);
+ setMinimumHeight(KIconLoader::SizeSmall);
QPalette palette;
palette.setColor(QPalette::Background, Qt::transparent);
// draw background
QColor backgroundColor = palette().brush(QPalette::Background).color();
- QColor foregroundColor = KColorScheme(KColorScheme::View).foreground();
+ QColor foregroundColor = KColorScheme(QPalette::Active, KColorScheme::View).foreground().color();
if (m_illumination > 0) {
// TODO: are there foreground and background colors available for
// "error messages"?