equal
deleted
inserted
replaced
1674 // and on hardware it is relative to the db managers private directory. |
1674 // and on hardware it is relative to the db managers private directory. |
1675 path = QDir::toNativeSeparators("C:\\Data\\temp\\QtServiceFW"); |
1675 path = QDir::toNativeSeparators("C:\\Data\\temp\\QtServiceFW"); |
1676 #elif defined(Q_OS_SYMBIAN) |
1676 #elif defined(Q_OS_SYMBIAN) |
1677 QString qtVersion(qVersion()); |
1677 QString qtVersion(qVersion()); |
1678 qtVersion = qtVersion.left(qtVersion.size() -2); //strip off patch version |
1678 qtVersion = qtVersion.left(qtVersion.size() -2); //strip off patch version |
1679 path = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + |
1679 path = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + "QtServiceFramework_" + |
1680 "\\Nokia\\" + "QtServiceFramework_" + |
1680 qtVersion + "_system" + QLatin1String(".db")); |
1681 qtVersion + "_system" + |
|
1682 QLatin1String(".db")); |
|
1683 #else |
1681 #else |
1684 QSettings settings(QSettings::SystemScope, "Nokia", "Services"); |
1682 QSettings settings(QSettings::SystemScope, "Nokia", "Services"); |
1685 path = settings.value("ServicesDB/Path").toString(); |
1683 path = settings.value("ServicesDB/Path").toString(); |
1686 if (path.isEmpty()) { |
1684 if (path.isEmpty()) { |
1687 path = QDir::currentPath(); |
1685 path = QDir::currentPath(); |