Changeset 5234 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Jun 17, 2013, 8:31:50 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/map
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/map/bncmapwin.cpp

    r5232 r5234  
    153153  gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI);
    154154}
     155
     156// Close Dialog gracefully
     157////////////////////////////////////////////////////////////////////////////
     158void bncMapWin::closeEvent(QCloseEvent* event) {
     159  emit mapClosed();
     160  QDialog::closeEvent(event);
     161}
  • trunk/BNC/src/map/bncmapwin.h

    r5228 r5234  
    3838
    3939 signals:
     40  void mapClosed();
    4041
    4142 public slots:
     
    4445 private slots:
    4546  void slotInitMap(bool isOk);
     47
     48 protected:
     49  virtual void closeEvent(QCloseEvent *);
    4650
    4751 private:
Note: See TracChangeset for help on using the changeset viewer.