refactor: Remove Qt function to disable menu icons on macOS #16969

pull emilengler wants to merge 1 commits into bitcoin:master from emilengler:2019-09-refactor-qt-menuicons-macos changing 1 files +0 −3
  1. emilengler commented at 5:43 PM on September 26, 2019: contributor

    As menu icons were removed in #16612, this removes an unnecessary function for macOS Could this get into v0.19.0?

  2. refactor: Remove Qt function to disable menu icons on macOS 3eea6a8f26
  3. laanwj added the label GUI on Sep 26, 2019
  4. MarcoFalke commented at 6:34 PM on September 26, 2019: member

    What is the risk of leaving it in?

  5. emilengler commented at 6:37 PM on September 26, 2019: contributor

    @MarcoFalke There is no risk but what's the point of leaving useless code in there? It just makes the program slower and bigger (even if there is no notable change)

  6. MarcoFalke added the label Refactoring on Sep 26, 2019
  7. fanquake added the label macOS on Sep 26, 2019
  8. promag commented at 10:10 PM on September 26, 2019: member
  9. laanwj commented at 1:51 PM on September 27, 2019: member

    I didn't touch context menus in my PR at least.

  10. emilengler commented at 2:04 PM on September 27, 2019: contributor

    @promag @laanwj On my X11 GTK system I don't have any icons in context menus though.

  11. jonasschnelli commented at 1:03 AM on September 30, 2019: contributor

    utACK 3eea6a8f2686352a0fd868fee6af42ef1283bdda AFAIK context menu icons are not shown on macOS, also not when starting with -uiplatform=other (or windows).

  12. laanwj commented at 10:00 AM on September 30, 2019: member

    On my X11 GTK system I don't have any icons in context menus though.

    Do we even have icons in context menus? I don't think so. Mind that "getImagesOnButtons()" is about images on buttons, not menus.

  13. promag commented at 10:07 AM on September 30, 2019: member

    Mind that "getImagesOnButtons()" is about images on buttons, not menus.

    Yup, I got it wrong while reading https://github.com/bitcoin/bitcoin/blob/79aeed8e76e8bc70722e6178678b0b3840694d5c/src/qt/addressbookpage.cpp#L67-L70

    I thought these actions were for the context menu, but actually they are buttons.

  14. promag commented at 2:04 PM on September 30, 2019: member

    ACK 3eea6a8f2686352a0fd868fee6af42ef1283bdda.

  15. fanquake approved
  16. fanquake commented at 2:09 AM on October 1, 2019: member

    ACK 3eea6a8f2686352a0fd868fee6af42ef1283bdda

  17. fanquake referenced this in commit b0e268d2f6 on Oct 1, 2019
  18. fanquake merged this on Oct 1, 2019
  19. fanquake closed this on Oct 1, 2019

  20. emilengler deleted the branch on Oct 1, 2019
  21. sidhujag referenced this in commit 32d3f3bf35 on Oct 2, 2019
  22. Fabcien referenced this in commit 75d4f4c0c8 on Dec 24, 2020
  23. PastaPastaPasta referenced this in commit ad5dd2a8b3 on Sep 21, 2021
  24. kittywhiskers referenced this in commit d47998a5f2 on Oct 12, 2021
  25. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me