From 5fb6ed213aa8b4b1101082671f57db45d7b10d01 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 16 Oct 2004 22:50:23 +0000 Subject: -Remove hardcoding of "/opt/QtPalmtop/" and use QPEApplication::qpeDir instead In future we need a OpieStandardDir with locateFile, locateUserSetting and such --- (limited to 'noncore/net/opietooth/manager/bluebase.cpp') diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index ee01b61..90e44cb 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -160,7 +160,7 @@ void BlueBase::writeToHciConfig() owarn << "writeToHciConfig" << oendl; HciConfWrapper hciconf ( "/etc/bluetooth/hcid.conf" ); hciconf.load(); - hciconf.setPinHelper( "/opt/QtPalmtop/bin/bluepin" ); + hciconf.setPinHelper( QPEApplication::qpeDir() + "bin/bluepin" ); hciconf.setName( m_deviceName ); hciconf.setEncrypt( m_useEncryption ); hciconf.setAuth( m_enableAuthentification ); -- cgit v0.9.0.2