diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-10-15 11:38:35 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-15 11:40:35 +0200 |
commit | e653925a53e70c559d64a8da35498edf2cda42a6 (patch) | |
tree | 8af27dc4a675547cf7b34f5b403e295b8f919251 /desktop/source/app/lockfile2.cxx | |
parent | 14b7173f6568fddcc5ecef10cc3ca73437fbb2dd (diff) |
Don't expose unnecessary symbols in lockfile.
lockfile-less-symbols.diff
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rw-r--r-- | desktop/source/app/lockfile2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx index 8400c0a70b3f..619102b70c2b 100644 --- a/desktop/source/app/lockfile2.cxx +++ b/desktop/source/app/lockfile2.cxx @@ -43,11 +43,11 @@ bool Lockfile_execWarning( Lockfile * that ) // read information from lock String aLockname = that->m_aLockname; Config aConfig(aLockname); - aConfig.SetGroup(that->Group()); - ByteString aHost = aConfig.ReadKey( that->Hostkey() ); - ByteString aUser = aConfig.ReadKey( that->Userkey() ); - ByteString aStamp = aConfig.ReadKey( that->Stampkey() ); - ByteString aTime = aConfig.ReadKey( that->Timekey() ); + aConfig.SetGroup( LOCKFILE_GROUP ); + ByteString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY ); + ByteString aUser = aConfig.ReadKey( LOCKFILE_USERKEY ); + ByteString aStamp = aConfig.ReadKey( LOCKFILE_STAMPKEY ); + ByteString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY ); // display warning and return response QueryBox aBox( NULL, DesktopResId( QBX_USERDATALOCKED ) ); |