Show
Ignore:
Timestamp:
04/27/08 22:47:06 (7 months ago)
Author:
flynd
Message:

Renamed config parameter for hiding chat dialog buttons to more general name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/config/chat.cpp

    r6143 r6173  
    5959  iniFile.ReadBool("AutoPosReplyWin", myAutoPosReplyWin, true); 
    6060  iniFile.ReadBool("AutoSendThroughServer", myAutoSendThroughServer, false); 
    61   iniFile.ReadBool("NoSendClose", myShowSendClose, true); 
    62   myShowSendClose = !myShowSendClose; 
     61  iniFile.ReadBool("ShowChatDlgButtons", myShowDlgButtons, true); 
    6362  iniFile.ReadNum("ChatMessageStyle", myChatMsgStyle, 0); 
    6463  iniFile.ReadBool("ChatVerticalSpacing", myChatVertSpacing, true); 
     
    128127  iniFile.WriteBool("AutoPosReplyWin", myAutoPosReplyWin); 
    129128  iniFile.WriteBool("AutoSendThroughServer", myAutoSendThroughServer); 
    130   iniFile.WriteBool("NoSendClose", !myShowSendClose); 
     129  iniFile.WriteBool("ShowChatDlgButtons", myShowDlgButtons); 
    131130  iniFile.WriteBool("FlashTaskbar", myFlashTaskbar); 
    132131  iniFile.WriteBool("MsgWinSticky", myMsgWinSticky); 
     
    311310} 
    312311 
    313 void Config::Chat::setShowSendClose(bool showSendClose) 
    314 { 
    315   if (showSendClose == myShowSendClose) 
    316     return; 
    317  
    318   myShowSendClose = showSendClose; 
     312void Config::Chat::setShowDlgButtons(bool showDlgButtons) 
     313{ 
     314  if (showDlgButtons == myShowDlgButtons) 
     315    return; 
     316 
     317  myShowDlgButtons = showDlgButtons; 
    319318} 
    320319