mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
bug fixes & replace idevice_get_device_version with get_device_version
This commit is contained in:
@@ -45,7 +45,15 @@ QString SettingsManager::devdiskimgpath() const
|
||||
// Settings implementation
|
||||
QString SettingsManager::downloadPath() const
|
||||
{
|
||||
return m_settings->value("downloadPath", DEFAULT_DEVDISKIMGPATH).toString();
|
||||
return m_settings
|
||||
->value("downloadPath", SettingsManager::docsPath() + "/devdiskimages")
|
||||
.toString();
|
||||
}
|
||||
|
||||
QString SettingsManager::docsPath()
|
||||
{
|
||||
return QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) +
|
||||
"/.idescriptor";
|
||||
}
|
||||
|
||||
void SettingsManager::setDownloadPath(const QString &path)
|
||||
|
||||
Reference in New Issue
Block a user