Not familiar with that code, but a quick look shows that this is the method that compares things:
invent.kde.org/education/kstars/-/blob/m.../darklibrary.cpp#L58
and it looks like the two options referenced there are set in KStars -> Settings -> Configure KStars -> Ekos -> Dark Library

Read More...