Ignore:
Timestamp:
04/23/10 08:04:08 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
3cdaf7d
Parents:
66428e7
Message:

restore viewing of conference map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r66428e7 rcb7b999  
    3939#include <eventdialog.h>
    4040#include "daynavigatorwidget.h"
    41 #include "mapwindow.h"
    4241#include "settingsdialog.h"
    4342#include "conferenceeditor.h"
     
    139138}
    140139
    141 void MainWindow::conferenceMapClicked()
    142 {
    143     QString mapPath = QString(":/maps/campus.png");
    144     if(!QFile::exists(mapPath))
    145         mapPath = QString(":/maps/rooms/not-available.png");
    146 
    147     QString roomName;
    148 
    149     QPixmap map(mapPath);
    150     MapWindow window(map,roomName,this);
    151     window.exec();
    152 }
    153 
    154140void MainWindow::eventHasChanged(int aEventId, bool aReloadModel)
    155141{
     
    272258    connect(this, SIGNAL(conferenceRemoved()), &dialog, SLOT(conferenceRemoved()));
    273259
    274     // TODO: propagate press of showMapButton here
    275     // connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked()));
    276 
    277260    dialog.exec();
    278261
Note: See TracChangeset for help on using the changeset viewer.