mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-18 21:14:34 -04:00
fix: Exclude ignore file from attach
This commit is contained in:
@ -37,24 +37,11 @@ IgnoreManager::IgnoreManager(QObject *parent)
|
||||
{
|
||||
auto projectManager = ProjectExplorer::ProjectManager::instance();
|
||||
if (projectManager) {
|
||||
connect(
|
||||
projectManager,
|
||||
&ProjectExplorer::ProjectManager::projectAdded,
|
||||
this,
|
||||
&IgnoreManager::reloadIgnorePatterns);
|
||||
|
||||
connect(
|
||||
projectManager,
|
||||
&ProjectExplorer::ProjectManager::projectRemoved,
|
||||
this,
|
||||
&IgnoreManager::removeIgnorePatterns);
|
||||
|
||||
const QList<ProjectExplorer::Project *> projects = projectManager->projects();
|
||||
for (ProjectExplorer::Project *project : projects) {
|
||||
if (project) {
|
||||
reloadIgnorePatterns(project);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
connect(
|
||||
|
Reference in New Issue
Block a user