From 42a5104340694255dc514514e7621ac2cee026fe Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 19 Sep 2003 16:44:24 +0000 Subject: Use local config file instead of a global.... --- (limited to 'core') diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp index fde6f8b..2180577 100644 --- a/core/launcher/transferserver.cpp +++ b/core/launcher/transferserver.cpp @@ -217,12 +217,12 @@ bool SyncAuthentication::checkPassword( const QString& password ) if ( lock ) return FALSE; ++lock; - + /* * we need to support old Sync software and QtopiaDesktop */ if ( password.left(6) == "Qtopia" || password.left(6) == "rootme" ) { - Config cfg( QPEApplication::qpeDir()+"/etc/Security.conf", Config::File ); + Config cfg( "Security.conf" ); cfg.setGroup("Sync"); QStringList pwds = cfg.readListEntry("Passwords",' '); for (QStringList::ConstIterator it=pwds.begin(); it!=pwds.end(); ++it) { -- cgit v0.9.0.2