Review Request: Show hidden dock widgets when activated by a bookmark

Ben Cooksley bcooksley at kde.org
Fri Oct 8 04:19:00 CEST 2010


On Fri, Oct 8, 2010 at 11:11 AM, Thomas Lübking <thomas.luebking at web.de> wrote:
> Since git.reviewboard won't accept my svn.reviewboard login (?!?)

git.reviewboard.kde.org is powered by KDE Identity ( identity.kde.org ).

All KDE Developers automatically had accounts created on KDE Identity,
with their details from kde-common/accounts. You may use the password
reset form to gain access to your account.

Regards,
Ben
KDE Sysadmin

>
> Have a look at QMainWindow::tabifiedDockWidgets (hint, if the list is empty,
> your dock of interest is likely not tabified ;-)
>
> Also do not dig for the docks by the object name, that's mega wonky and will
> break sooner or later. Instead either add 3 fuctions
> ("setPlaylistAsCurrentTab" etc - "showDock" is quite generic) or add an enum
> and dispatch (map to the widget pointer) it in "setAsCurrentTab( AmarokDockId
> )" (or in worst doubt, dispatch a constant string there)
>
> Cheers,
> Thomas
>
> ps: sth. with a qDebug() will likely not be merged ;-)
>
> Am Thursday 07 October 2010 schrieb Daniel Faust:
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> http://git.reviewboard.kde.org/r/100030/
>> -----------------------------------------------------------
>>
>> Review request for Amarok.
>>
>>
>> Summary
>> -------
>>
>> Since I have tabbed my Navigation and Context views I have to manually
>> select the tabs every time I open a bookmark. In my opinion this should be
>> done automatically.
>> Unfortunately I couldn't come up with a very clean solution. But please
>> have a look at the code yourself and share your opinion.
>>
>>
>> Diffs
>> -----
>>
>>   src/MainWindow.h b86470e
>>   src/MainWindow.cpp 54c6751
>>   src/amarokurls/ContextUrlRunner.cpp 7416fbc
>>   src/amarokurls/NavigationUrlRunner.cpp 6bb6c0b
>>   src/playlist/PlaylistViewUrlRunner.cpp 749233e
>>
>> Diff: http://git.reviewboard.kde.org/r/100030/diff
>>
>>
>> Testing
>> -------
>>
>> I'm running amarok with this patch for many weeks now without any problems.
>>
>>
>> Thanks,
>>
>> Daniel
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>


More information about the Amarok-devel mailing list