Changeset b1fc17a
- Timestamp:
- 01/19/10 09:27:46 (13 years ago)
- Branches:
- master, qt5
- Children:
- 9afc0ee
- Parents:
- f9db452
- Location:
- src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rf9db452 rb1fc17a 201 201 Event *event = static_cast<Event*>(aIndex.internalPointer()); 202 202 QString mapPath = QString(":/maps/rooms/%1.png").arg(event->room()); 203 if(!QFile::exists(mapPath)) 204 mapPath = QString(":/maps/rooms/not-available.png"); 203 205 QPixmap map(mapPath); 204 206 MapWindow window(map,this); -
src/maps.qrc
rf9db452 rb1fc17a 25 25 <file>maps/rooms/lameere.png</file> 26 26 <file>maps/rooms/ua2114.png</file> 27 <file>maps/rooms/not-available.png</file> 27 28 </qresource> 28 29 </RCC>
Note: See TracChangeset
for help on using the changeset viewer.