- fix: autolink parameters are repeated when compile single files

This commit is contained in:
royqh1979@gmail.com 2021-10-25 12:33:02 +08:00
parent d1ccabbd6b
commit b7aa67c9a4
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ Version 0.7.3
- fix: crash when create an empty project
- fix: syntax issues' filepath info not correct when build projects
- fix: compiler autolinks options widget don't show autolink infos
- fix: autolink parameters are repeated when compile single files
Version 0.7.2
- fix: rainbow parenthesis stop functioning when change editor's general options

View File

@ -501,7 +501,7 @@ QString Compiler::getLibraryArguments(FileType fileType)
QString Compiler::parseFileIncludesForAutolink(
const QString &filename,
QSet<QString> parsedFiles,
QSet<QString>& parsedFiles,
PCppParser& parser)
{
QString result;

View File

@ -57,7 +57,7 @@ protected:
virtual QString getLibraryArguments(FileType fileType);
virtual QString parseFileIncludesForAutolink(
const QString& filename,
QSet<QString> parsedFiles,
QSet<QString>& parsedFiles,
PCppParser& parser);
void log(const QString& msg);
void error(const QString& msg);