From cc6f8b9f944996aa4e13cb10e363c81932523216 Mon Sep 17 00:00:00 2001 From: Ben Haller Date: Thu, 18 Jul 2024 21:32:33 -0400 Subject: [PATCH] fix shadowing build warning --- QtSLiM/QtSLiMDebugOutputWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QtSLiM/QtSLiMDebugOutputWindow.cpp b/QtSLiM/QtSLiMDebugOutputWindow.cpp index 6cce0943..e32f70e7 100644 --- a/QtSLiM/QtSLiMDebugOutputWindow.cpp +++ b/QtSLiM/QtSLiMDebugOutputWindow.cpp @@ -537,8 +537,8 @@ void QtSLiMDebugOutputWindow::logFileRightClick(const QPoint &pos) else if (action) // graphData2DAction { // all values are convertible to double; guaranteed above - QVariant data = action->data(); - int xColumnIndex = data.toInt(); + QVariant actiondata = action->data(); + int xColumnIndex = actiondata.toInt(); bool makeScatterPlot = false; if (xColumnIndex >= 10000)