summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp7
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
@@ -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() );
}
}