Show
Ignore:
Timestamp:
11/06/06 04:45:07 (2 years ago)
Author:
erijo
Message:

Patch from Anders Olofsson to allow configuration of notice color.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/ewidgets.cpp

    r4735 r4736  
    675675  m_colorRcvHistory = m->m_colorRcvHistory; 
    676676  m_colorSntHistory = m->m_colorSntHistory; 
     677  m_colorNotice = m->m_colorNotice; 
    677678  setPaletteBackgroundColor(m->m_colorChatBkg); 
    678679  mainwin = m; 
     
    709710  m_colorRcvHistory = m->m_colorRcvHistory; 
    710711  m_colorSntHistory = m->m_colorSntHistory; 
     712  m_colorNotice = m->m_colorNotice; 
    711713  setPaletteBackgroundColor(m->m_colorChatBkg); 
    712714  mainwin = m; 
     
    951953void CMessageViewWidget::addNotice(QDateTime dt, QString messageText) 
    952954{ 
    953   QString color = "green"; 
     955  QString color = m_colorNotice.name(); 
    954956  QString s = ""; 
    955957  const QString dateTime = dt.toString( m_nDateFormat );