diff --git a/lib/jkqtplotter/jkqtpkey.cpp b/lib/jkqtplotter/jkqtpkey.cpp index d9e3b8fc9f..0d1aa3cac3 100644 --- a/lib/jkqtplotter/jkqtpkey.cpp +++ b/lib/jkqtplotter/jkqtpkey.cpp @@ -443,7 +443,7 @@ void JKQTPBaseKey::KeyLayoutDescription::redistributeIntoOneColumn() columns[0].rows.append(columns[i].rows); } for (int i=columns.size()-1; i>=1; i--) { - columns.remove(i); + columns.removeAt(i); } } }