remove dead code

This commit is contained in:
Oswald Buddenhagen
2011-03-08 12:00:59 +01:00
parent bc98bba8d9
commit e26b631a5a

View File

@@ -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.");