<< QSqlField("days", QVariant::Int)
<< QSqlField("day_change", QVariant::Int)
<< QSqlField("timeslot_duration", QVariant::Int)
- << QSqlField("active", QVariant::Bool));
+ << QSqlField("active", QVariant::Bool)
+ << QSqlField("url", QVariant::String));
QString const Conference::sTableName = QString("conference");
while(query.next())
activeConfs.append(query.record().value("id").toInt());
+ qDebug() << __PRETTY_FUNCTION__
+ << "activeConfs.count()" << activeConfs.count()
+ ;
+
if(activeConfs.count()==0) // no active DB
return 1;
else // even if there are more active confs, the first from the list is confidered active