From ff57382179e9b49b5b80872d237603611ff5ac13 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 17:20:38 -0500 Subject: Second part of prior commit --- tdeio/tdefile/kopenwith.cpp | 2 +- tdeio/tdefile/kpropertiesdialog.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeio/tdefile') diff --git a/tdeio/tdefile/kopenwith.cpp b/tdeio/tdefile/kopenwith.cpp index 5db8b79d9..6688fc387 100644 --- a/tdeio/tdefile/kopenwith.cpp +++ b/tdeio/tdefile/kopenwith.cpp @@ -754,7 +754,7 @@ void KOpenWithDlg::slotOK() { desktop->writeEntry("Terminal", false); } - desktop->writeEntry("InitialPreference", maxPreference + 1); + desktop->writeEntry("X-TDE-InitialPreference", maxPreference + 1); if (bRemember || d->saveNewApps) diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp index 8302f3080..0d2df33e0 100644 --- a/tdeio/tdefile/kpropertiesdialog.cpp +++ b/tdeio/tdefile/kpropertiesdialog.cpp @@ -4077,7 +4077,7 @@ TDEApplicationPropsPlugin::TDEApplicationPropsPlugin( KPropertiesDialog *_props TQString commentStr = config.readComment(); TQString genNameStr = config.readGenericName(); - TQStringList selectedTypes = config.readListEntry( "ServiceTypes" ); + TQStringList selectedTypes = config.readListEntry( "X-TDE-ServiceTypes" ); // For compatibility with KDE 1.x selectedTypes += config.readListEntry( "MimeType", ';' ); @@ -4195,7 +4195,7 @@ void TDEApplicationPropsPlugin::applyChanges() selectedTypes.append( extensionsList->text( i ) ); config.writeEntry( "MimeType", selectedTypes, ';' ); - config.writeEntry( "ServiceTypes", "" ); + config.writeEntry( "X-TDE-ServiceTypes", "" ); // hmm, actually it should probably be the contrary (but see also typeslistitem.cpp) TQString nameStr = nameEdit ? nameEdit->text() : TQString::null; -- cgit v1.2.3