- Timestamp:
- 05/05/10 15:57:37 (13 years ago)
- Branches:
- master, qt5
- Children:
- 508de33
- Parents:
- 58eb7cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/tabcontainer.cpp
r58eb7cc r0d995ed 86 86 Event *event = static_cast<Event*>(aIndex.internalPointer()); 87 87 88 Room room = Room::retrieve(event->roomId()); 89 QVariant mapPathV = room.map(); 88 QVariant mapPathV = event->room()->map(); 90 89 QString mapPath; 91 90 if (!mapPathV.isValid()) { … … 101 100 102 101 QPixmap map(mapPath); 103 MapWindow window(map, room.name(),this);102 MapWindow window(map, event->room()->name(),this); 104 103 window.exec(); 105 104 }
Note: See TracChangeset
for help on using the changeset viewer.