示例#1
0
QString Fingerprint::directoryPath()
{
	CoreInterface coreInterface;
	QString profileDir = coreInterface.getProfileDir();

	return QString("%1/%2")
	  .arg(profileDir)
	  .arg(kDirName);
}
示例#2
0
void SubscriptionManager::persistDirectory()
{
	CoreInterface coreInterface;
	QString profileDir = coreInterface.getProfileDir();

	QDir dir(profileDir);
	if (!dir.exists()) {
		dir.mkpath(".");
	}
}