Revision 616498

Go back to digest for 31st December 2006

Bug Fixes in Development Tools

Alexander Dymo committed changes in /branches/kdevelop/3.4/parts/appwizard:

This is rather hackish solution to the project creation appwizard used to open files before opening project (opening project was delayed using QTimer::singleShot). Therefore several things (code completion, switch header/impl., etc.) in C++ support didn't work because they were activated only on activePartChanged signal.

And that signal was emitted long before C++ support part was loaded.

I believe this could cause problems not with c++ support only but with other project-wide plugins.

So the fix is to catch projectOpened signal in appwizard and open files afterwards.

File Changes

Modified 4 files
  • /branches/kdevelop/3.4/parts/appwizard
  •   /appwizarddlg.cpp
  •   /appwizarddlg.h
  •   /appwizardpart.cpp
  •   /appwizardpart.h
4 files changed in total