Revision 818659

Go back to digest for 15th June 2008

Bug Fixes in Educational

Jason Harris committed changes in /trunk/KDE/kdeedu/kstars/kstars:

Fixing crash when closing the toolbar config dialog. I had been invoking KEditToolbar directly, but the API docs clued me in to the fact that this is not necessary. As long as I have an action named "options_configure_toolbars" in my XMLGUI file, then I don't need to do anything else. Apparently doing it manually is a bit worse than unnecessary, because the mysterious crash I had doing it manually is gone now.

Actually, there's one more detail I needed to make the auto-code work.
By looking at the code of other apps, I learned that I need to have setXMLFile("kstarsui.rc") and setupGUI().

It sure would be nice if we had some up to date documentation on how this XMLGUI stuff is supposed to work...

File Changes

Modified 4 files
  • /trunk/KDE/kdeedu/kstars/kstars
  •   /kstars.h
  •   /kstarsactions.cpp
  •   /kstarsinit.cpp
  •   /kstarsui.rc
4 files changed in total