Show
Ignore:
Timestamp:
06/11/08 05:31:29 (6 months ago)
Author:
eugene
Message:

Updated to use new daemon setting of default user encoding.

Location:
trunk/qt4-gui/src/config
Files:
2 modified

Legend:

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

    r6212 r6249  
    9999 
    100100  iniFile.SetSection("locale"); 
    101   iniFile.ReadStr("DefaultEncoding", szTemp, ""); 
    102   myDefaultEncoding = szTemp; 
    103101  iniFile.ReadBool("ShowAllEncodings", myShowAllEncodings, false); 
    104102 
     
    158156 
    159157  iniFile.SetSection("locale"); 
    160   iniFile.WriteStr("DefaultEncoding", myDefaultEncoding); 
    161158  iniFile.WriteBool("ShowAllEncodings", myShowAllEncodings); 
    162159 
     
    238235} 
    239236 
    240 void Config::Chat::setDefaultEncoding(QByteArray defaultEncoding) 
    241 { 
    242   if (defaultEncoding == myDefaultEncoding) 
    243     return; 
    244  
    245   myDefaultEncoding = defaultEncoding; 
    246 } 
    247  
    248237void Config::Chat::setTabbedChatting(bool tabbedChatting) 
    249238{ 
  • trunk/qt4-gui/src/config/chat.h

    r6173 r6249  
    7676  bool showDlgButtons() const { return myShowDlgButtons; } 
    7777  bool showAllEncodings() const { return myShowAllEncodings; } 
    78   QByteArray defaultEncoding() const { return myDefaultEncoding; } 
    7978  bool tabbedChatting() const { return myTabbedChatting; } 
    8079  bool showHistory() const { return myShowHistory; } 
     
    126125  void setShowDlgButtons(bool showDlgButtons); 
    127126  void setShowAllEncodings(bool showAllEncodings); 
    128   void setDefaultEncoding(QByteArray defaultEncoding); 
    129127  void setTabbedChatting(bool tabbedChatting); 
    130128  void setShowHistory(bool showHistory); 
     
    203201  QString myChatBackColor; 
    204202 
    205   QByteArray myDefaultEncoding; 
    206  
    207203  QRect myDialogRect; 
    208204