void handleExCommand(bool *handled, const ExCommand &cmd) { if (cmd.matches(_("q"), _("quit")) || cmd.matches(_("qa"), _("qall"))) { QApplication::quit(); } else { *handled = false; return; } *handled = true; }
void handleExCommand(bool *handled, const ExCommand &cmd) { if (cmd.matches(_("q"), _("quit")) || cmd.matches(_("qa"), _("qall"))) { QApplication::quit(); } else { *handled = false; return; } *handled = true; }