Index: kio/kfile/kopenwithdialog.cpp =================================================================== --- kio/kfile/kopenwithdialog.cpp (Revision 782244) +++ kio/kfile/kopenwithdialog.cpp (Revision 782245) @@ -870,7 +870,7 @@ KConfigGroup cg = desktopFile.desktopGroup(); cg.writeEntry("Type", "Application"); cg.writeEntry("Name", initialServiceName); - cg.writePathEntry("Exec", fullExec); + cg.writeEntry("Exec", fullExec); cg.writeEntry("NoDisplay", true); // don't make it appear in the K menu if (terminal->isChecked()) { cg.writeEntry("Terminal", true); Index: kio/kfile/kpropertiesdialog.cpp =================================================================== --- kio/kfile/kpropertiesdialog.cpp (Revision 782244) +++ kio/kfile/kpropertiesdialog.cpp (Revision 782245) @@ -3015,7 +3015,7 @@ QString nameStr = _config.readName(); QString genNameStr = _config.readGenericName(); QString commentStr = _config.readComment(); - QString commandStr = config.readPathEntry( "Exec", QString() ); + QString commandStr = config.readEntry( "Exec", QString() ); if (commandStr.startsWith(QLatin1String("ksystraycmd "))) { commandStr.remove(0, 12); @@ -3176,9 +3176,9 @@ config.writeEntry( "GenericName", d->w->genNameEdit->text(), KConfigGroup::Persistent|KConfigGroup::Localized ); // for compat if (d->m_systrayBool) - config.writePathEntry( "Exec", d->w->commandEdit->text().prepend("ksystraycmd ") ); + config.writeEntry( "Exec", d->w->commandEdit->text().prepend("ksystraycmd ") ); else - config.writePathEntry( "Exec", d->w->commandEdit->text() ); + config.writeEntry( "Exec", d->w->commandEdit->text() ); config.writePathEntry( "Path", d->w->pathEdit->lineEdit()->text() ); // Write mimeTypes