1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix active profile warning with wrong check when using __more_ thant one profile

This commit is contained in:
Elias Steurer 2019-11-23 17:18:25 +01:00
parent 72670e72cc
commit aca1f26df4

View File

@ -256,7 +256,7 @@ void ScreenPlayManager::loadWallpaperProfiles()
QJsonArray activeProfilesTmp = configObj.value().value("profiles").toArray();
if (activeProfilesTmp.size() >= 1) {
if (activeProfilesTmp.size() > 1) {
qWarning() << "We currently only support one profile!";
return;
}