[Bug 79794] KDevelop 3.0.2 crashes when opening a .ui file.
Jens Dagerbo
jens.dagerbo at swipnet.se
Sun Apr 18 21:41:03 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=79794
------- Additional Comments From jens.dagerbo swipnet se 2004-04-18 21:39 -------
CVS commit by dagerbo:
Don't crash when there is no preferred handler for application/x-designer
CCMAIL: 79794 bugs kde org
M +1 -1 partcontroller.cpp 1.126
--- kdevelop/src/partcontroller.cpp #1.125:1.126
@ -303,5 +303,5 @ void PartController::editDocument(const
{
KService::Ptr preferredApp = KServiceTypeProfile::preferredService( MimeType->name(), "Application" );
- if ( preferredApp->desktopEntryName() == "designer" )
+ if ( preferredApp && preferredApp->desktopEntryName() == "designer" )
{
KRun::runURL(url, MimeType->name() );
More information about the KDevelop-devel
mailing list