Ignore:
Timestamp:
01/19/10 17:46:29 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
c53a3f4
Parents:
cfd615d
Message:

diplayed map is closed by single-click, instead of double-click

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mapwindow.cpp

    rcfd615d r02c1e09  
    1010}
    1111
    12 void MapWindow::mouseDoubleClickEvent(QMouseEvent *event)
     12// it is enough to handle mouseReleaseEvent, instead of
     13// getting/creating mouseClikEvent, since the whole window
     14// is occupied by only-one widget/label (image/map)
     15void MapWindow::mouseReleaseEvent(QMouseEvent *event)
    1316{
     17    Q_UNUSED(event);
    1418    close();
    1519}
Note: See TracChangeset for help on using the changeset viewer.