connect(m_timer, SIGNAL(timeout()),
this, SLOT(timerDone()));
- m_closeButton = new QPushButton(i18n("Close"), this);
+ m_closeButton = new QPushButton(i18nc("@action:button", "Close"), this);
m_closeButton->hide();
connect(m_closeButton, SIGNAL(clicked()),
this, SLOT(closeErrorMessage()));
break;
case DolphinStatusBar::Error:
- iconName = "dialog-error";
m_timer->start(100);
m_state = Illuminate;
// 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"?