Commit 6c8f8755 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix build



Change-Id: I18dc32ca33f9ac50a3fc8411d075f16474d54f16
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 76c30832
......@@ -482,7 +482,7 @@ FileName FileName::fromUserInput(const QString &filename)
{
QString clean = QDir::cleanPath(filename);
if (clean.startsWith(QLatin1String("~/")))
clean = QDir::homePath() + clean.midRef(1);
clean = QDir::homePath() + clean.mid(1);
return FileName(clean);
}
......
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