diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/georges_editor/georges_treeview_dialog.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/georges_editor/georges_treeview_dialog.cpp index dccb5f07b..117395e64 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/georges_editor/georges_treeview_dialog.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/georges_editor/georges_treeview_dialog.cpp @@ -434,7 +434,7 @@ namespace GeorgesQt QPoint globalPos = this->mapToGlobal(pos); // Fisrt we're going to see if we've right clicked on a new item and select it. - QModelIndex &index = this->m_ui.treeView->currentIndex(); + const QModelIndex &index = this->m_ui.treeView->currentIndex(); if(!index.isValid()) return;