Review Request 111275: putting Artist - Title of the current track to the clipboard using a shortcut

Matěj Laitl matej at laitl.cz
Fri Jun 28 19:39:18 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111275/#review35253
-----------------------------------------------------------



src/MainWindow.cpp
<http://git.reviewboard.kde.org/r/111275/#comment25827>

    Oh this is convoluted. What about
    
    QString text;
    Meta::ArtistPtr artist = currentTrack->artist();
    if( artist )
        text = artist->prettyName() + " - ";
    text += currentTrack->prettyName()
    
    clipboard->setText( text );


- Matěj Laitl


On June 28, 2013, 9:18 p.m., fleissig fleissig wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111275/
> -----------------------------------------------------------
> 
> (Updated June 28, 2013, 9:18 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Description
> -------
> 
> putting Artist - Title of the current track to the clipboard using a shortcut
> 
> 
> This addresses bug 228872.
>     https://bugs.kde.org/show_bug.cgi?id=228872
> 
> 
> Diffs
> -----
> 
>   src/MainWindow.h b2ee08014c110d1979176fe9d4abfad5076c1179 
>   src/MainWindow.cpp af47db7226244cc81f1a4f50000d3c980d758b93 
> 
> Diff: http://git.reviewboard.kde.org/r/111275/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> fleissig fleissig
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130628/e69e8084/attachment.html>


More information about the Amarok-devel mailing list