Show
Ignore:
Timestamp:
05/11/08 19:17:12 (8 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.

Files:
1 modified

Legend:

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

    r6191 r6193  
    161161  myBehaviourLayout->addWidget(myMainWinStickyCheck, 0, 1); 
    162162 
    163   myAutoScrollCheck = new QCheckBox(tr("Automatic scrolling")); 
    164   myAutoScrollCheck->setToolTip(tr("Automatically scroll to the selected item if it was moved out of the view.")); 
    165   myBehaviourLayout->addWidget(myAutoScrollCheck, 1, 1); 
    166  
    167163  QHBoxLayout* mySortByLayout = new QHBoxLayout(); 
    168164  mySortByLabel = new QLabel(tr("Additional sorting:")); 
     
    180176  mySortByLabel->setBuddy(mySortByCombo); 
    181177  mySortByLayout->addWidget(mySortByCombo); 
    182   myBehaviourLayout->addLayout(mySortByLayout, 2, 1); 
     178  myBehaviourLayout->addLayout(mySortByLayout, 1, 1); 
    183179 
    184180 
     
    351347  myScrollBarCheck->setChecked(contactListConfig->allowScrollBar()); 
    352348  mySysBackCheck->setChecked(contactListConfig->useSystemBackground()); 
    353   myAutoScrollCheck->setChecked(contactListConfig->autoScroll()); 
    354349 
    355350  int numColumns = contactListConfig->columnCount(); 
     
    424419  contactListConfig->setAllowScrollBar(myScrollBarCheck->isChecked()); 
    425420  contactListConfig->setUseSystemBackground(mySysBackCheck->isChecked()); 
    426   contactListConfig->setAutoScroll(myAutoScrollCheck->isChecked()); 
    427421 
    428422  for (unsigned short i = 0; i < MAX_COLUMNCOUNT; ++i)