Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kde] RomDataViewPrivate::createOptionsButton(): Use HelpRole for the…
… Options button. On Qt4 and Qt5, we could add a stretch layout item to the QDialogButtonBox's layout directly. On Qt6, this doesn't seem to work properly, since a bunch of internals were changed. Using HelpRole instead of ActionRole seems to provide the same effect on Qt6, and I tested that it works on Qt5 as well, so it will probably work on Qt4. (TODO: Test it.) Note that since the button has HelpRole, it might cause the QDialogButotnBox to emit the helpRequested() signal. Nothing appears to connect to this signal by default, so it's not an issue.
- Loading branch information