Changeset 7e45288


Ignore:
Timestamp:
09/25/12 20:23:59 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
0ba2b59
Parents:
a62988a
Message:

Remove empty-city-hack.

(NOT NULL removed from db schema.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.cpp

    ra62988a r7e45288  
    128128
    129129void SqlEngine::addConferenceToDB(QHash<QString,QString> &aConference, int conferenceId) {
    130     // HACK
    131     // When city is empty, assign a dummy value. We probably want to find a way to change the database scheme ...
    132     // cf. #32
    133     if (aConference["city"].isEmpty()) aConference["city"] = "n/a";
    134 
    135130    QSqlQuery query(db);
    136131    if (conferenceId <= 0) // insert conference
Note: See TracChangeset for help on using the changeset viewer.