Commit e26b631a authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove dead code

parent bc98bba8
......@@ -406,11 +406,6 @@ bool PathChooser::validatePath(const QString &path, QString *errorMessage)
QString expandedPath = m_d->expandedPath(path);
QString displayPath = expandedPath;
if (expandedPath.isEmpty())
//: Selected path is not valid:
displayPath = tr("<not valid>");
if (expandedPath.isEmpty()) {
if (errorMessage)
*errorMessage = tr("The path must not be empty.");
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