Changeset e6ab8a2 for src/mvc/room.cpp


Ignore:
Timestamp:
07/04/11 23:42:02 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
526128c
Parents:
8dd3dd2
Message:

Removed the ability to show "pictures" (maps) of rooms and maps of conferences.
The XML file does not contain picture/map/image information of conferences or rooms.
We left the room.picture definition in the database SQL because there is no "drop column"
in sqlite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/room.cpp

    r8dd3dd2 re6ab8a2  
    2222
    2323QString const Room::sTableName = QString("room");
    24 int const Room::sTableColCount = 3;
     24int const Room::sTableColCount = 2;
    2525const QString Room::NAME = "name";
    2626
    2727QSqlRecord const Room::sColumns = Room::toRecord(QList<QSqlField>()
    2828    << QSqlField("id", QVariant::Int)
    29     << QSqlField(NAME, QVariant::String)
    30     << QSqlField("picture", QVariant::String));
     29    << QSqlField(NAME, QVariant::String));
    3130
    3231Room Room::retrieveByName(QString name)
Note: See TracChangeset for help on using the changeset viewer.