mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
remove unused QDeclarativeGridViewPrivate::fixCurrentVisibility member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
7be95c38bf
commit
d99435c084
1 changed files with 10 additions and 12 deletions
|
@ -150,8 +150,8 @@ public:
|
||||||
, footerComponent(0), footer(0), headerComponent(0), header(0)
|
, footerComponent(0), footer(0), headerComponent(0), header(0)
|
||||||
, bufferMode(BufferBefore | BufferAfter), snapMode(QDeclarativeGridView::NoSnap)
|
, bufferMode(BufferBefore | BufferAfter), snapMode(QDeclarativeGridView::NoSnap)
|
||||||
, ownModel(false), wrap(false), autoHighlight(true)
|
, ownModel(false), wrap(false), autoHighlight(true)
|
||||||
, fixCurrentVisibility(false), lazyRelease(false), layoutScheduled(false)
|
, lazyRelease(false), layoutScheduled(false), deferredRelease(false)
|
||||||
, deferredRelease(false), haveHighlightRange(false), currentIndexCleared(false) {}
|
, haveHighlightRange(false), currentIndexCleared(false) {}
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
void clear();
|
void clear();
|
||||||
|
@ -476,15 +476,14 @@ public:
|
||||||
int bufferMode;
|
int bufferMode;
|
||||||
QDeclarativeGridView::SnapMode snapMode;
|
QDeclarativeGridView::SnapMode snapMode;
|
||||||
|
|
||||||
bool ownModel : 1;
|
bool ownModel;
|
||||||
bool wrap : 1;
|
bool wrap;
|
||||||
bool autoHighlight : 1;
|
bool autoHighlight;
|
||||||
bool fixCurrentVisibility : 1;
|
bool lazyRelease;
|
||||||
bool lazyRelease : 1;
|
bool layoutScheduled;
|
||||||
bool layoutScheduled : 1;
|
bool deferredRelease;
|
||||||
bool deferredRelease : 1;
|
bool haveHighlightRange;
|
||||||
bool haveHighlightRange : 1;
|
bool currentIndexCleared;
|
||||||
bool currentIndexCleared : 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void QDeclarativeGridViewPrivate::init()
|
void QDeclarativeGridViewPrivate::init()
|
||||||
|
@ -922,7 +921,6 @@ void QDeclarativeGridViewPrivate::updateCurrent(int modelIndex)
|
||||||
FxGridItem *oldCurrentItem = currentItem;
|
FxGridItem *oldCurrentItem = currentItem;
|
||||||
currentIndex = modelIndex;
|
currentIndex = modelIndex;
|
||||||
currentItem = createItem(modelIndex);
|
currentItem = createItem(modelIndex);
|
||||||
fixCurrentVisibility = true;
|
|
||||||
if (oldCurrentItem && (!currentItem || oldCurrentItem->item != currentItem->item))
|
if (oldCurrentItem && (!currentItem || oldCurrentItem->item != currentItem->item))
|
||||||
oldCurrentItem->attached->setIsCurrentItem(false);
|
oldCurrentItem->attached->setIsCurrentItem(false);
|
||||||
if (currentItem) {
|
if (currentItem) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue