From 4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d Mon Sep 17 00:00:00 2001 From: harlekin Date: Fri, 28 Jun 2002 21:08:44 +0000 Subject: update --- (limited to 'noncore/net/opietooth') diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 0385cb1..3e7e2ab 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -212,10 +212,11 @@ namespace OpieTooth { // seperate config file for each device, to store more information in future. // TO FIX: BTLISTITEM!!! + qDebug( "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf"); + Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf", Config::File ); - // Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem)it.current())->mac()) + ".conf", Config::File ); - // conf.setGroup( "Info" ); - // conf.writeEntry( "name", it.current()->name() ); + conf.setGroup( "Info" ); + conf.writeEntry( "name", ((BTListItem*)it.current())->name() ); } } -- cgit v0.9.0.2