aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/quick/items/qquickpathview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickpathview.cpp b/src/quick/items/qquickpathview.cpp
index 696cf145da..1f41fe04e5 100644
--- a/src/quick/items/qquickpathview.cpp
+++ b/src/quick/items/qquickpathview.cpp
@@ -2031,7 +2031,7 @@ void QQuickPathView::modelUpdated(const QQmlChangeSet &changeSet, bool reset)
const int modelCount = d->modelCount;
int moveId = -1;
- int moveOffset;
+ int moveOffset = 0;
bool currentChanged = false;
bool changedOffset = false;
foreach (const QQmlChangeSet::Remove &r, changeSet.removes()) {