forked from qt-creator/qt-creator
remove dead code
This commit is contained in:
@@ -406,11 +406,6 @@ bool PathChooser::validatePath(const QString &path, QString *errorMessage)
|
|||||||
{
|
{
|
||||||
QString expandedPath = m_d->expandedPath(path);
|
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 (expandedPath.isEmpty()) {
|
||||||
if (errorMessage)
|
if (errorMessage)
|
||||||
*errorMessage = tr("The path must not be empty.");
|
*errorMessage = tr("The path must not be empty.");
|
||||||
|
|||||||
Reference in New Issue
Block a user