Changeset f9db452 for src/gui/mainwindow.cpp
- Timestamp:
- 01/19/10 08:44:40 (13 years ago)
- Branches:
- master, qt5
- Children:
- b1fc17a
- Parents:
- 446bce4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r446bce4 rf9db452 199 199 void MainWindow::displayMap(const QModelIndex &aIndex) 200 200 { 201 QPixmap map(":/maps/rooms/janson.png"); 201 Event *event = static_cast<Event*>(aIndex.internalPointer()); 202 QString mapPath = QString(":/maps/rooms/%1.png").arg(event->room()); 203 QPixmap map(mapPath); 202 204 MapWindow window(map,this); 203 205 window.exec();
Note: See TracChangeset
for help on using the changeset viewer.