Re: Is this a kaccess bug?
Alex Fiestas <[email protected]>
| Newsgroups | gmane.comp.kde.devel.accessibility |
|---|---|
| Message-ID | <[email protected]> |
Hi again I've created a patch to evade the application of exit when the dialog is closed, I do it by calling setQuitOnLastWindowClosed(false). Is ok for you to commit it? Thx! On Fri, Jul 24, 2009 at 4:12 PM, Alex Fiestas <[email protected]> wrote: > Hi > When you push 5 times shift a dialog appear asking you a few things. > If you click "No", the dialog disappear and kaccess dies :/ > > Is that the behavior kaccess is supposed to have? If kaccess dies then the > dialog doesn't appear again (even if I choose this option from the dialog), > so that sounds odd to me. > > Thanks! > _______________________________________________ kde-accessibility mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-accessibility
kaccess.patch
(text/x-patch, 548 B)
Index: main.cpp
===================================================================
--- main.cpp (revision 1001464)
+++ main.cpp (working copy)
@@ -42,7 +42,11 @@
return 1;
}
kDebug() << "X server XKB extension major=" << major << " minor=" << minor;
-
+
+ //This application have a ui that is visible only some times, we've to evade
+ //The application of exit when the last window is closed.
+ app.setQuitOnLastWindowClosed(false);
+
app.setXkbOpcode(xkb_opcode);
app.disableSessionManagement();
return app.exec();