summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-01-11 07:43:05 +0100
committerLaurent Montel <[email protected]>2019-01-11 07:43:05 +0100
commit2a72522a6af21e447ae9af6a9ce2739d3536a2ff (patch)
treef483fee8da65ca00a4888ebc31e5a57128061cf3
parent17e21f64a7839c4cf1b91454213cae7b0fb9783d (diff)
Consti'fy
-rw-r--r--Modules/opengl/opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/opengl/opengl.cpp b/Modules/opengl/opengl.cpp
index 8e5ca14..750cf91 100644
--- a/Modules/opengl/opengl.cpp
+++ b/Modules/opengl/opengl.cpp
@@ -124,7 +124,7 @@ QTreeWidgetItem *newItem(QTreeWidgetItem *parent, QTreeWidgetItem *preceding, co
return newItem;
}
-QTreeWidgetItem *newItem(QTreeWidgetItem *parent, QString textCol1, QString textCol2 = QString()) {
+QTreeWidgetItem *newItem(QTreeWidgetItem *parent, const QString &textCol1, const QString &textCol2 = QString()) {
return newItem(parent, NULL, textCol1, textCol2);
}