Commit 5cdf2e5b authored by kh1's avatar kh1

No need to pass the path for the known_hosts file.

This would have worked fine on Vista and later, but fails on XP because
of spaces in path name. And we don't need it anyway.
parent 7900ec6d
......@@ -1144,10 +1144,6 @@ const QStringList AbstractMaemoRunControl::options() const
devConfig.authentication == MaemoDeviceConfigurations::DeviceConfig::Password;
const QLatin1String opt("-o");
QStringList optionList;
#ifdef Q_OS_WIN
optionList << opt << QString::fromLatin1("UserKnownHostsFile=%1/maemo_knownHosts").
arg(QDesktopServices::storageLocation(QDesktopServices::HomeLocation));
#endif
if (!usePassword)
optionList << QLatin1String("-i") << devConfig.keyFile;
return optionList << opt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment