Skip to content

Commit c0c124a

Browse files
committed
partially revert changes made with 6d2596e
1 parent 6d2596e commit c0c124a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/binding/parser/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func LoadModule(m string) *Module {
142142
err = xml.Unmarshal([]byte(utils.LoadOptional(path)), &module)
143143
if err != nil {
144144
utils.Log.WithFields(logFields).Debug("falling back to bundled *.index files")
145-
err = xml.Unmarshal([]byte(utils.LoadOptional(filepath.Join(strings.TrimSpace(utils.GoListOptional("{{.Dir}}", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION_MAJOR()+".0"), "-find", "get doc dir")), fmt.Sprintf("qt%v.index", strings.ToLower(m))))), &module)
145+
err = xml.Unmarshal([]byte(utils.LoadOptional(filepath.Join(strings.TrimSpace(utils.GoListOptional("{{.Dir}}", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION()), "-find", "get doc dir")), fmt.Sprintf("qt%v.index", strings.ToLower(m))))), &module)
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)