diff options
Diffstat (limited to 'tdeio/tdefile/kpropertiesdialog.cpp')
-rw-r--r-- | tdeio/tdefile/kpropertiesdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp index f865e2f2d..c0e315359 100644 --- a/tdeio/tdefile/kpropertiesdialog.cpp +++ b/tdeio/tdefile/kpropertiesdialog.cpp @@ -3193,7 +3193,10 @@ KDesktopPropsPlugin::KDesktopPropsPlugin( KPropertiesDialog *_props ) m_terminalBool = config.readBoolEntry( "Terminal" ); m_terminalOptionStr = config.readEntry( "TerminalOptions" ); m_suidBool = config.readBoolEntry( "X-TDE-SubstituteUID" ) || config.readBoolEntry( "X-KDE-SubstituteUID" ); - m_suidUserStr = config.readEntry( "X-TDE-Username" ); + if( config.hasKey( "X-TDE-Username" )) + m_suidUserStr = config.readEntry( "X-TDE-Username" ); + else + m_suidUserStr = config.readEntry( "X-KDE-Username" ); if( config.hasKey( "StartupNotify" )) m_startupBool = config.readBoolEntry( "StartupNotify", true ); else |