Madde: Fix madde root setting.

Was broken by 2431456216.

Change-Id: I7eebad12dd23974412660d457ebd6e99b158c92a
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2012-07-26 14:53:36 +02:00
parent d77b27c556
commit e9a81cad45

View File

@@ -78,7 +78,7 @@ void MaemoRemoteMounter::setProfile(const Profile *profile)
Core::Id typeId = DeviceTypeProfileInformation::deviceTypeId(profile); Core::Id typeId = DeviceTypeProfileInformation::deviceTypeId(profile);
m_remoteMountsAllowed = MaddeDevice::allowsRemoteMounts(typeId); m_remoteMountsAllowed = MaddeDevice::allowsRemoteMounts(typeId);
m_maddeRoot = SysRootProfileInformation::sysRoot(profile); m_maddeRoot = SysRootProfileInformation::sysRoot(profile).parentDir().parentDir();
} }
void MaemoRemoteMounter::addMountSpecification(const MaemoMountSpecification &mountSpec, void MaemoRemoteMounter::addMountSpecification(const MaemoMountSpecification &mountSpec,