Changeset 763b877 in confclerk_git for src/sql/schedulexmlparser.cpp


Ignore:
Timestamp:
08/18/21 21:17:28 (14 months ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
a59d5c4
Parents:
ff579df
Message:

Fix bug: display_time_shift was lost when conference was reloaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/schedulexmlparser.cpp

    rff579df r763b877  
    8585            conference["display_time_shift"] = QString();
    8686            conference["url"] = url;
    87             sqlEngine->addConferenceToDB(conference, conferenceId);
     87            sqlEngine->addConferenceToDB(conference, conferenceId, conferenceId != 0);
    8888            conferenceId = conference["id"].toInt();
    8989            conference_title = conference["title"];
     
    193193        // Re-write conference as utc_offset was not known previously
    194194        if (!conference.value("utc_offset").isEmpty()) {
    195             sqlEngine->addConferenceToDB(conference, conferenceId);
     195            sqlEngine->addConferenceToDB(conference, conferenceId, conferenceId != 0);
    196196        }
    197197
Note: See TracChangeset for help on using the changeset viewer.