diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-13 22:58:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-14 01:42:53 +0300 |
commit | e40411cdc287343a32a8371f2116fcc11545b466 (patch) | |
tree | 4655f02211f1b08b8ead94175fd419c6e766f9c8 /src/gui/confirmdialog.cpp | |
parent | 2ebce73d5018945bb5f5363913a4096e04bf5a0f (diff) | |
download | plus-e40411cdc287343a32a8371f2116fcc11545b466.tar.gz plus-e40411cdc287343a32a8371f2116fcc11545b466.tar.bz2 plus-e40411cdc287343a32a8371f2116fcc11545b466.tar.xz plus-e40411cdc287343a32a8371f2116fcc11545b466.zip |
Improve event.getId() speed.
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r-- | src/gui/confirmdialog.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp index 838b1eaf6..e78be195c 100644 --- a/src/gui/confirmdialog.cpp +++ b/src/gui/confirmdialog.cpp @@ -106,11 +106,5 @@ void ConfirmDialog::action(const gcn::ActionEvent &event) { setActionEventId(event.getId()); distributeActionEvent(); - - // Can we receive anything else anyway? - if (event.getId() == "yes" || event.getId() == "no" - || event.getId() == "ignore") - { - scheduleDelete(); - } + scheduleDelete(); } |