forked from qt-creator/qt-creator
Squish: Fix if statement with empty body
Change-Id: Ibf8ab419e26f896e3eabfb9c42c86ca87cd2801d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -44,7 +44,7 @@ SquishSettings::SquishSettings()
|
|||||||
squishPath.setPlaceHolderText(Tr::tr("Path to Squish installation"));
|
squishPath.setPlaceHolderText(Tr::tr("Path to Squish installation"));
|
||||||
squishPath.setValidationFunction([this](FancyLineEdit *edit, QString *error) {
|
squishPath.setValidationFunction([this](FancyLineEdit *edit, QString *error) {
|
||||||
QTC_ASSERT(edit, return false);
|
QTC_ASSERT(edit, return false);
|
||||||
if (!squishPath.pathChooser()->defaultValidationFunction()(edit, error));
|
if (!squishPath.pathChooser()->defaultValidationFunction()(edit, error))
|
||||||
return false;
|
return false;
|
||||||
const FilePath squishServer = FilePath::fromString(edit->text())
|
const FilePath squishServer = FilePath::fromString(edit->text())
|
||||||
.pathAppended(HostOsInfo::withExecutableSuffix("bin/squishserver"));
|
.pathAppended(HostOsInfo::withExecutableSuffix("bin/squishserver"));
|
||||||
|
Reference in New Issue
Block a user