Use the awesome new tools icon in the Tools dropdown menu button. Since the icon is only available in Frameworks 5.55, we use the old icon as a fallback since the minimum frameworks version is still 5.29.
Details
Details
- Reviewers
ndavis - Group Reviewers
Spectacle VDG - Commits
- R166:9fe51427f193: Use new toolbox icon for "Tools" dropdown menu button
Diff Detail
Diff Detail
- Repository
- R166 Spectacle
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
You could also use a fallback chain:
QIcon::fromTheme(QStringLiteral("tools"), QIcon::fromTheme("application-menu"));
(second argument in QIcon::fromTheme is icon to be used if the theme icon wasn't found)