summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/devicesupport/idevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/devicesupport/idevice.cpp')
-rw-r--r--src/plugins/projectexplorer/devicesupport/idevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/idevice.cpp b/src/plugins/projectexplorer/devicesupport/idevice.cpp
index 142974335d..53c1485ddf 100644
--- a/src/plugins/projectexplorer/devicesupport/idevice.cpp
+++ b/src/plugins/projectexplorer/devicesupport/idevice.cpp
@@ -36,7 +36,7 @@
#include <utils/qtcassert.h>
#include <QCoreApplication>
-#include <QDesktopServices>
+#include <QStandardPaths>
#include <QString>
#include <QUuid>
@@ -417,7 +417,7 @@ int IDevice::version() const
QString IDevice::defaultPrivateKeyFilePath()
{
- return QDesktopServices::storageLocation(QDesktopServices::HomeLocation)
+ return QStandardPaths::writableLocation(QStandardPaths::HomeLocation)
+ QLatin1String("/.ssh/id_rsa");
}