~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/dropdown.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-07-11 10:09:41 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130711100941-f0rwuvcwgl8ulqo8
Tags: 1.3.7.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
    keyEvent.consume();
356
356
}
357
357
 
358
 
void DropDown::hideDrop()
 
358
void DropDown::hideDrop(bool event)
359
359
{
360
 
    distributeActionEvent();
 
360
    if (event)
 
361
        distributeActionEvent();
361
362
    mPopup->setVisible(false);
362
363
}
363
364