diff options
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rwxr-xr-x[-rw-r--r--] | desktop/source/app/lockfile2.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx index c155d9e6a3cd..619102b70c2b 100644..100755 --- a/desktop/source/app/lockfile2.cxx +++ b/desktop/source/app/lockfile2.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -42,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 ) ); @@ -68,3 +69,4 @@ bool Lockfile_execWarning( Lockfile * that ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |