diff options
author | Georg Zotti <Georg.Zotti@univie.ac.at> | 2024-03-03 18:42:10 +0100 |
---|---|---|
committer | Georg Zotti <Georg.Zotti@univie.ac.at> | 2024-03-03 18:42:10 +0100 |
commit | 6619736cdbe8911d7559d1b0904eda6b636d7a2c (patch) | |
tree | 64f82a5ad98e646916d4f460fda3e1ee09dcdf9d | |
parent | 2be331181f7bc373dd79a7d39c66948e29d9375b (diff) |
Remove no-operation conversion
-rw-r--r-- | src/core/StelOBJ.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/StelOBJ.cpp b/src/core/StelOBJ.cpp index 2a271e7abb..5c1bb85407 100644 --- a/src/core/StelOBJ.cpp +++ b/src/core/StelOBJ.cpp @@ -454,7 +454,7 @@ StelOBJ::MaterialList StelOBJ::Material::loadFromFile(const QString &filename) QString line = stream.readLine().simplified(); //split line by space #if (QT_VERSION>=QT_VERSION_CHECK(6,0,0)) - ParseParams splits = ParseParam(line).split(' ', Qt::SkipEmptyParts).toVector(); + ParseParams splits = ParseParam(line).split(' ', Qt::SkipEmptyParts); #elif (QT_VERSION>=QT_VERSION_CHECK(5,15,0)) ParseParams splits = line.splitRef(' ', Qt::SkipEmptyParts); #else @@ -769,7 +769,7 @@ bool StelOBJ::load(QIODevice& device, const QString &basePath, const VertexOrder //split line by whitespace #if (QT_VERSION>=QT_VERSION_CHECK(6,0,0)) - ParseParams splits = ParseParam(line).split(separator, Qt::SkipEmptyParts).toVector(); + ParseParams splits = ParseParam(line).split(separator, Qt::SkipEmptyParts); #elif (QT_VERSION>=QT_VERSION_CHECK(5,15,0)) ParseParams splits = line.splitRef(separator, Qt::SkipEmptyParts); #else |