- fix: Wrong compiler settings if xcode is not installed in mac os.
This commit is contained in:
parent
aa03dfc01d
commit
12f4b3ee9c
1
NEWS.md
1
NEWS.md
|
@ -24,6 +24,7 @@ Red Panda C++ Version 2.24
|
||||||
- change: New file created by file template is set as unmodified by default.
|
- change: New file created by file template is set as unmodified by default.
|
||||||
- change: Remove option "clear all symbols when current editor is hidden".
|
- change: Remove option "clear all symbols when current editor is hidden".
|
||||||
- fix: When opening multiple files, only the active file should be parsed.
|
- fix: When opening multiple files, only the active file should be parsed.
|
||||||
|
- fix: Wrong compiler settings if xcode is not installed in mac os.
|
||||||
|
|
||||||
Red Panda C++ Version 2.23
|
Red Panda C++ Version 2.23
|
||||||
|
|
||||||
|
|
|
@ -2810,7 +2810,7 @@ bool Settings::CompilerSets::addSets(const QString &folder, const QString& c_pro
|
||||||
}
|
}
|
||||||
// Default, release profile
|
// Default, release profile
|
||||||
PCompilerSet baseSet = addSet(folder,c_prog);
|
PCompilerSet baseSet = addSet(folder,c_prog);
|
||||||
if (!baseSet)
|
if (!baseSet || baseSet->name().isEmpty())
|
||||||
return false;
|
return false;
|
||||||
QString baseName = baseSet->name();
|
QString baseName = baseSet->name();
|
||||||
QString platformName;
|
QString platformName;
|
||||||
|
|
Loading…
Reference in New Issue