Hi,

i put it to svn with changeset 513 and improved your patch by removing 
the QTimers. The updateLabel() function gets called only when a new 
drumkit gets loaded.. Please test it!
-Sebastian

Sebastian Moors schrieb:
> Hey ho!
>
> I like the idea, but i dislike the implementation :) The QTimer-Solution 
> is not optimal because it wastes cpu-time and sometimes you see the lag 
> between drumset update and the QLabel update. It would be better to call 
> the updateLabel() function only if the drumset *really* changes.
> It's harder to implement but i think it's worth considering. Only if 
> it's not possible to code it that way we should use the QTimer..
> -Sebastian
>
>
> [EMAIL PROTECTED] schrieb:
>   
>> hi,
>> schiavoni a forum member ask this question:
>> http://hydrogen-music.org/forum/?action=show_thread&thread=893&fid=9&page=2
>> - How can I know the current Drumkit? The older version didn't have it easy 
>> and the new
>> haven't too. It's very nice the new sounf library window but, maybe, It can 
>> have a hint
>> about the current one.
>>
>> i think exact the same than schiavoni.
>> imo, there is space left, at the upper left quadrant into the pattern 
>> editor, to display the drumkit name.
>>
>> if you like this idea, i will commit my patch.
>>
>> wolke
>>
>> @jacob 
>> great.... :-) so beautifully, congratulations and I wish you all the very 
>> best! 
>>
>>   
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Hydrogen-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>     
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to