diff options
Diffstat (limited to 'examples/itemviews/addressbook/addresswidget.cpp')
-rw-r--r-- | examples/itemviews/addressbook/addresswidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/itemviews/addressbook/addresswidget.cpp b/examples/itemviews/addressbook/addresswidget.cpp index 6d05c22..c8dcb57 100644 --- a/examples/itemviews/addressbook/addresswidget.cpp +++ b/examples/itemviews/addressbook/addresswidget.cpp @@ -104,7 +104,7 @@ void AddressWidget::editEntry() QModelIndex index, i; QString name; QString address; - int row; + int row = -1; foreach (index, indexes) { row = proxy->mapToSource(index).row(); |