forked from qt-creator/qt-creator
Android: Remove unneeded local variable
Change-Id: I1d69410f3a824d734ba7e6ee440029d111069013 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -636,9 +636,8 @@ void AndroidSettingsWidget::validateSdk()
|
|||||||
const FilePath sdkPath = m_sdkLocationPathChooser->filePath().cleanPath();
|
const FilePath sdkPath = m_sdkLocationPathChooser->filePath().cleanPath();
|
||||||
AndroidConfig::setSdkLocation(sdkPath);
|
AndroidConfig::setSdkLocation(sdkPath);
|
||||||
|
|
||||||
const FilePath path = AndroidConfig::sdkLocation();
|
|
||||||
m_androidSummary->setPointValid(SdkPathExistsAndWritableRow,
|
m_androidSummary->setPointValid(SdkPathExistsAndWritableRow,
|
||||||
path.exists() && path.isWritableDir());
|
sdkPath.exists() && sdkPath.isWritableDir());
|
||||||
m_androidSummary->setPointValid(SdkToolsInstalledRow,
|
m_androidSummary->setPointValid(SdkToolsInstalledRow,
|
||||||
!AndroidConfig::sdkToolsVersion().isNull());
|
!AndroidConfig::sdkToolsVersion().isNull());
|
||||||
m_androidSummary->setPointValid(PlatformToolsInstalledRow,
|
m_androidSummary->setPointValid(PlatformToolsInstalledRow,
|
||||||
|
Reference in New Issue
Block a user