Changeset b1fc17a for src/gui/mainwindow.cpp
- Timestamp:
- 01/19/10 09:27:46 (13 years ago)
- Branches:
- master, qt5
- Children:
- 9afc0ee
- Parents:
- f9db452
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.