Changeset a2f0d1e for src/sql/schedulexmlparser.cpp
- Timestamp:
- 09/27/17 21:40:54 (5 years ago)
- Branches:
- master
- Children:
- 961971e
- Parents:
- c19618d
- git-author:
- Philipp Spitzer <philipp@…> (09/27/17 21:34:41)
- git-committer:
- Philipp Spitzer <philipp@…> (09/27/17 21:40:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sql/schedulexmlparser.cpp
rc19618d ra2f0d1e 46 46 QDomElement scheduleElement = document.firstChildElement("schedule"); 47 47 48 sqlEngine->beginTransaction();48 TransactionRaii transaction(*sqlEngine); // begins the transaction 49 49 50 50 QString conference_title; … … 167 167 } // parsing day elements 168 168 } // schedule element 169 sqlEngine->commitTransaction();170 169 if (!conference_title.isNull()) { 170 transaction.commit(); 171 171 emit parsingScheduleEnd(conferenceId); 172 172 } else {
Note: See TracChangeset
for help on using the changeset viewer.