Commit 61278a06 authored by Jan Möbius's avatar Jan Möbius
Browse files

QStringlist operator needs int

parent a83bb4fc
......@@ -1168,12 +1168,12 @@ bool glViewer::decodeView(const QString& _view,
// Parse the components
// first, get the projection and the modelview matrices
//*********************************************************
for (std::size_t i = 0; i < 4; ++i)
for (int i = 0; i < 4; ++i)
{
for (std::size_t j = 0; j < 4; ++j)
for (int j = 0; j < 4; ++j)
{
m(i,j) = split[i*4 + j].toDouble();
p(i,j) = split[i*4 + j +16].toDouble();
p(i,j) = split[i*4 + j +16 ].toDouble();
}
}
......@@ -1211,9 +1211,9 @@ bool glViewer::decodeView(const QString& _view,
// Parse the components
// first, get the projection and the modelview matrices
//*********************************************************
for (std::size_t i = 0; i < 4; ++i)
for (int i = 0; i < 4; ++i)
{
for (std::size_t j = 0; j < 4; ++j)
for (int j = 0; j < 4; ++j)
{
m(i,j) = split[i*4 + j].toDouble();
p(i,j) = split[i*4 + j +16].toDouble();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment