-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 | |||
@@ -211,12 +211,13 @@ namespace OpieTooth { | |||
211 | for ( ; it.current(); ++it ) { | 211 | for ( ; it.current(); ++it ) { |
212 | 212 | ||
213 | // seperate config file for each device, to store more information in future. | 213 | // seperate config file for each device, to store more information in future. |
214 | // TO FIX: BTLISTITEM!!! | 214 | // TO FIX: BTLISTITEM!!! |
215 | qDebug( "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf"); | ||
216 | Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf", Config::File ); | ||
215 | 217 | ||
216 | // Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem)it.current())->mac()) + ".conf", Config::File ); | 218 | conf.setGroup( "Info" ); |
217 | // conf.setGroup( "Info" ); | 219 | conf.writeEntry( "name", ((BTListItem*)it.current())->name() ); |
218 | // conf.writeEntry( "name", it.current()->name() ); | ||
219 | } | 220 | } |
220 | } | 221 | } |
221 | 222 | ||
222 | 223 | ||