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/delegate.cpp

    r8dd3dd2 re6ab8a2  
    150150            mControls[AlarmControlOff]->paint(painter, option.rect);
    151151#endif
    152         if (event->room()->hasMap())
    153             mControls[MapControl]->paint(painter, option.rect);
    154152        if(event->hasTimeConflict())
    155153            mControls[WarningControl]->paint(painter, option.rect);
     
    376374    mControls.insert(AlarmControlOff,
    377375                    new Control(AlarmControlOff, QString(":icons/appointment-soon-off.png"), mControls[FavouriteControlOff]));
    378 
    379     // MAP ICON
    380     mControls.insert(MapControl,
    381                     new Control(MapControl, QString(":icons/applications-internet.png"), mControls[AlarmControlOn]));
    382 #else
    383     // MAP ICON
    384     mControls.insert(MapControl,
    385                     new Control(MapControl, QString(":icons/applications-internet.png"), mControls[FavouriteControlOn]));
    386376#endif
    387377
    388378    // WARNING ICON
    389379    mControls.insert(WarningControl,
    390                     new Control(WarningControl, QString(":icons/dialog-warning.png"), mControls[MapControl]));
     380                    new Control(WarningControl, QString(":icons/dialog-warning.png"), mControls[FavouriteControlOn]));
    391381}
    392382
Note: See TracChangeset for help on using the changeset viewer.