Changeset 6191 for trunk/qt4-gui/src/views
- Timestamp:
- 05/11/08 06:43:50 (7 months ago)
- Location:
- trunk/qt4-gui/src/views
- Files:
-
- 2 modified
-
userviewbase.cpp (modified) (1 diff)
-
userviewbase.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/views/userviewbase.cpp
r6179 r6191 86 86 } 87 87 88 void UserViewBase::scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) 89 { 90 if (Config::ContactList::instance()->autoScroll()) 91 QTreeView::scrollTo(index, hint); 92 } 93 88 94 void UserViewBase::applySkin() 89 95 { -
trunk/qt4-gui/src/views/userviewbase.h
r6151 r6191 60 60 */ 61 61 virtual void setColors(QColor back); 62 63 /** 64 * Reloaded from base class 65 * 66 * @param index Index of the item to scroll to 67 * @param hint Relative viewport position 68 */ 69 virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible); 62 70 63 71 signals:
