Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11234)

Issue 5562050: New CoverProvider for Discogs

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by mbj4668
Modified:
9 years, 4 months ago
Reviewers:
davidsansome
Visibility:
Public.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Updated after review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -0 lines) Patch
M src/CMakeLists.txt View 2 chunks +2 lines, -0 lines 0 comments Download
A src/covers/discogscoverprovider.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
A src/covers/discogscoverprovider.cpp View 1 1 chunk +173 lines, -0 lines 0 comments Download
M src/main.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2
davidsansome
Looks good. Comments below are mostly style issues. Could you add copyright headers to the ...
12 years, 3 months ago (2012-01-23 12:08:27 UTC) #1
mbj4668
12 years, 3 months ago (2012-01-23 21:34:55 UTC) #2
Hi,

Thanks for your comments, I have fixed the code locally.

On Mon, Jan 23, 2012 at 1:08 PM, <davidsansome@gmail.com> wrote:

> If you want to be able to add all the images, you could collect them up
> in a struct that you allocate on the heap in StartSearch and then pass
> the pointer around between the callbacks.  If you do that you can put
> the ID and QVariantList of results in that struct too.
>

You mean send one request at the time?  If I do this, where do I delete the
heap allocated data?   I can of course do that before I emit
SearchFinished, but that doesn't work if the search timer triggers and
CancelSearch is called, right?  So I need a map from 'id' to this heap
allocated data?


/martin
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b