author | harlekin <harlekin> | 2002-06-28 21:08:44 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-28 21:08:44 (UTC) |
commit | 4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d (patch) (side-by-side diff) | |
tree | b2e892b6a301d60fb86fe3916df53763ce09b7c9 | |
parent | 5223240e859a0433605ee642b3aac68a05e4d0f4 (diff) | |
download | opie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.zip opie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.tar.gz opie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.tar.bz2 |
update
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 @@ -213,8 +213,9 @@ 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() ); } } |