summaryrefslogtreecommitdiffstats
path: root/kmenuedit/basictab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmenuedit/basictab.cpp')
-rw-r--r--kmenuedit/basictab.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/kmenuedit/basictab.cpp b/kmenuedit/basictab.cpp
index 5ecb9366c..32dba3f3e 100644
--- a/kmenuedit/basictab.cpp
+++ b/kmenuedit/basictab.cpp
@@ -366,7 +366,12 @@ void BasicTab::setEntryInfo(MenuEntryInfo *entryInfo)
_pathEdit->lineEdit()->setText(df->readPath());
_termOptEdit->setText(df->readEntry("TerminalOptions"));
- _uidEdit->setText(df->readEntry("X-TDE-Username"));
+ if( df->hasKey( "X-TDE-Username" )) {
+ _uidEdit->setText(df->readEntry("X-TDE-Username"));
+ }
+ else {
+ _uidEdit->setText(df->readEntry("X-KDE-Username"));
+ }
if( df->hasKey( "StartupNotify" ))
_launchCB->setChecked(df->readBoolEntry("StartupNotify", true));