[Kde-games-devel] KGoldrunner problems with pause shortcut translation
Ian Wadham
ianw2 at optusnet.com.au
Mon Jul 28 23:08:15 CEST 2008
On Tue, 29 Jul 2008 03:59:21 am Albert Astals Cid wrote:
> Hi, same as kbreakout and kblackbox, kgoldrunner suffers from shortcuts not
> being translated because toString(QKeySequence::PortableText) is being used
> instead of toString(QKeySequence::NativeText)
>
> I've not fixed it because there are two other problems that have a bit
> bigger impact and i did not have time to see if they broke something else.
>
> The first problem is that initStatusBar(); is called before setupGUI() so
> the part of pauseKeys of initStatusBar is still using the non-user-set
> shortcuts.
>
> The other is that KGoldrunner::optionsConfigureKeys is not being called
> when shortcuts are configured as i see it was the intention.
>
I am sorry, but I have no time at all to work on these as I am on a countdown
to flying out of Australia to the UK (where I will be on tour and staying with
relatives) and then (several days later) to Akademy.
Are they showstoppers for the KDE 4.1 release?
Also, forgetting about translations for the moment, the alternate Pause key
(Esc) sometimes works and sometimes not. I have been trying to get to the
bottom of that one for a while. The P key always seems to work, but my
reflexes are attuned to the alternate ... :-(
BTW, if you are worried about changing the order of initialization (I am),
perhaps you could invoke KGoldrunner::optionsConfigureKeys an extra
time (after setupGUI() has run). I do not understand why that is not called
as a slot whenever shortcuts are changed: the code seems to be all there.
Cheers, Ian W.
More information about the kde-games-devel
mailing list