[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok
Subject:    Re: Connecting new music player won't allow oggs
From:       Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date:       2007-10-30 0:59:53
Message-ID: 200710292059.53761.kde-dev () emailgoeshere ! com
[Download RAW message or body]

On Monday 29 October 2007, Jeff Mitchell wrote:
> On Monday 29 October 2007, Seb Ruiz wrote:
> > Looks like Qt is automatically adding in shortcut accelerators.
>
> Yeah, I thought about that too, but recreating the code in a small test
> program did not provide the same results.  The test program does not,
> however, use a .ui file, so I'll have to troll through the documentation
> and/or the generated code and see if anything looks suspicious.

When I change the relevant lines in updateConfigDialogLists to:

debug() << "adding " << *it << " to addSupportedButton popup" << endl;
int i = m_addSupportedButton->popup()->insertItem( *it );
debug() << "added text: " << m_addSupportedButton->popup()->text( i ) << endl;

The second debug line does not have an ampersand.  I'd expect if a shortcut 
accelerator was being automatically added it'd happen right away, but that's 
an assumption.

So it, whatever it is, is somehow/where happening between that point, and when 
the function that is entered when the menu item is selected is called.

--Jeff
_______________________________________________
Amarok mailing list
Amarok@kde.org
https://mail.kde.org/mailman/listinfo/amarok
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic