Use unprocessed window title that does not contain any ampersand
symbols for shortcuts.
Details
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
If this is intended to fix ampersand in titles of "Projects", "Filesystem", etc., then it didn't work for me.
Interesting, that works for me. A quick check: did you set LD_LIBRARY_PATH correctly so that kdevelop picks up right version of kdevplatform, not the one from system?
@Gleb are you sure that you have set correct paths such that the correct libKDevPlatformSublime.so from your build is used? You can also use "ldd" to check this.
Paths are correct it's just me using Windows. Here on Windows when using vistastyle ampersands are shown with and without this patch. I guess, it's a separate issue?
Different issue, but caused by similar code I think. This patch here is just for the context menus, while Gleb is talking about the dock widget titles (https://phabricator.kde.org/T1122).
Regarding this patch: Not entirely sure if this is the correct approach, my knowledge in Sublime is limited. Apol?
This patch does the same as in line 172, where the title is used for the shortcut menu. Thus, whatever is the best way to proceed, both calls should be the same IMO.