Summary: | build on master failure due to commit bfa4274f58fcf5c873f20210ce6a88277671ccee | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Brice De Bruyne <bricedb> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frank78ac, montel |
Priority: | NOR | ||
Version First Reported In: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Brice De Bruyne
2015-09-13 11:49:19 UTC
Thanks for the bug report! On the one hand, one could argue that this should better be fixed in dolphin-plugins, because using forward declarations to reduce dependencies is a good practice. On the other hand, the header with the KFileItem include has already been released in a stable version, and forcing users of this header to adjust their code now is not very nice. I completely agree with you. Relying on indirect inclusion is a bug. Keeping it for convenience is nice, but our goal should be clean headers. A fix for dolphin-plugins, which seems to be the best long-term solution, is at https://git.reviewboard.kde.org/r/125247/. If I missed anything, please let me know! (If it is considered necessary to revert the change in kversioncontrolplugin.h in order to not break backwards compatibility, this can still be done.) This has been fixed in dolphin-plugins in the mean time: https://quickgit.kde.org/?p=dolphin-plugins.git&a=commit&h=9ceea02f9d1903e260a1d45d1ca0330d6c2d47fe |