forked from qt-creator/qt-creator
CMakePM: Refactor CMakeLists|Cache.txt as constants
Change-Id: I7165fa1d219a0c59bc519a9af1cd194414c4311c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -398,7 +398,7 @@ void CMakeEditorWidget::findLinkAt(const QTextCursor &cursor,
|
||||
fileName = dir.pathAppended(fileName.path());
|
||||
if (fileName.exists()) {
|
||||
if (fileName.isDir()) {
|
||||
Utils::FilePath subProject = fileName.pathAppended("CMakeLists.txt");
|
||||
Utils::FilePath subProject = fileName.pathAppended(Constants::CMAKE_LISTS_TXT);
|
||||
if (subProject.exists())
|
||||
fileName = subProject;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user