summaryrefslogtreecommitdiffstats
path: root/kmenuedit/basictab.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:01:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:58:45 +0200
commit3e88ddfbc3df52c97d5354890fb9ac68af49bddd (patch)
treef6830215ebdc83e794a7a223042537595490265f /kmenuedit/basictab.cpp
parent5607b4ae2272da03b692475c2f773f3e27e671b8 (diff)
downloadtdebase-3e88ddfbc3df52c97d5354890fb9ac68af49bddd.tar.gz
tdebase-3e88ddfbc3df52c97d5354890fb9ac68af49bddd.zip
Additional k => tde renaming and fixes
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));