]> git.sesse.net Git - kdenlive/blobdiff - src/definitions.h
Use const & with foreach loops where possible [krazy 46/46] by Mikko Rapeli
[kdenlive] / src / definitions.h
index 5b6c2541f1989707951a69e3307a17cc3e4ab7e1..fa226208cfb51e039b0461c90a3c4665cf0f48bb 100644 (file)
@@ -166,7 +166,7 @@ public:
        if (value.isEmpty()) return;
        QStringList data = value.split("/");
        isCollapsed = data.at(0).toInt() == 1 || data.at(0).toInt() == 3;
-       groupIsCollapsed = data.at(0).toInt() == 3;
+       groupIsCollapsed = data.at(0).toInt() >= 2;
        if (data.count() > 1) groupIndex = data.at(1).toInt();
        if (data.count() > 2) groupName = data.at(2);
     }