Show
Ignore:
Timestamp:
05/11/08 19:17:12 (7 months ago)
Author:
flynd
Message:

Revised r6191. scrollTo needs to be called for some cases. It's just the call triggered by layoutChanged that we want to ignore. And I don't see any reason to have this configurable.

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

Legend:

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

    r6191 r6193  
    6363  iniFile.ReadBool("ScrollBar", myAllowScrollBar, true); 
    6464  iniFile.ReadBool("SystemBackground", myUseSystemBackground, false); 
    65   iniFile.ReadBool("AutoScrolling", myAutoScroll, true); 
    6665 
    6766  unsigned short flash; 
     
    129128  iniFile.WriteBool("ScrollBar", myAllowScrollBar); 
    130129  iniFile.WriteBool("SystemBackground", myUseSystemBackground); 
    131   iniFile.WriteBool("AutoScrolling", myAutoScroll); 
    132130 
    133131  iniFile.WriteNum("NumColumns", myColumnCount); 
     
    313311} 
    314312 
    315 void Config::ContactList::setAutoScroll(bool autoScroll) 
    316 { 
    317   myAutoScroll = autoScroll; 
    318 } 
    319  
    320313void Config::ContactList::setShowDividers(bool showDividers) 
    321314{ 
  • trunk/qt4-gui/src/config/contactlist.h

    r6191 r6193  
    110110  bool allowScrollBar() const { return myAllowScrollBar; } 
    111111  bool useSystemBackground() const { return myUseSystemBackground; } 
    112   bool autoScroll() const { return myAutoScroll; } 
    113112 
    114113  bool popupPicture() const { return myPopupPicture; } 
     
    161160  void setAllowScrollBar(bool allowScrollBar); 
    162161  void setUseSystemBackground(bool useSystemBackground); 
    163   void setAutoScroll(bool autoScroll); 
    164162 
    165163  void setPopupPicture(bool popupPicture); 
     
    242240  bool myAllowScrollBar; 
    243241  bool myUseSystemBackground; 
    244   bool myAutoScroll; 
    245242 
    246243  // Contact list sorting