diff --git a/src/plugins/mcusupport/mcupackage.cpp b/src/plugins/mcusupport/mcupackage.cpp index 2b03a696c19..67b5f2091a1 100644 --- a/src/plugins/mcusupport/mcupackage.cpp +++ b/src/plugins/mcusupport/mcupackage.cpp @@ -93,7 +93,7 @@ const McuPackageVersionDetector *McuPackage::getVersionDetector() const FilePath McuPackage::basePath() const { - return m_fileChooser != nullptr ? m_fileChooser->filePath() : m_path; + return m_path; } FilePath McuPackage::path() const