Show
Ignore:
Timestamp:
09/28/07 21:38:59 (14 months ago)
Author:
eugene
Message:

Made default amount of messages per history page configurable in range of (2..200), ticket 821.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/mainwin.cpp

    r5444 r5446  
    380380  licqConf.ReadStr("DateFormat", szTemp, "hh:mm:ss"); 
    381381  m_chatDateFormat = QString::fromLatin1(szTemp); 
     382  licqConf.ReadNum("HistoryMessagesPerPage", m_histMsgNum, 40); 
    382383  licqConf.ReadNum("HistoryMessageStyle", m_histMsgStyle, 0); 
    383384  licqConf.ReadBool("HistoryVerticalSpacing", m_histVertSpacing, true); 
     
    27842785  licqConf.WriteStr("ChatBackground", m_colorChatBkg.name().toLatin1()); 
    27852786  licqConf.WriteStr("DateFormat", m_chatDateFormat.toLatin1()); 
     2787  licqConf.WriteNum("HistoryMessagesPerPage", m_histMsgNum); 
    27862788  licqConf.WriteNum("HistoryMessageStyle", m_histMsgStyle); 
    27872789  licqConf.WriteBool("HistoryVerticalSpacing", m_histVertSpacing);