You shouldn't have to do that -- just add a static member variable
declaration of the list to the CPP. The function definition can stay in the
.h
On May 21, 2013 10:44 AM, "Owen Williams" <notifications@github.com> wrote:

> In mixxx/src/playermanager.h:
>
> > @@ -84,6 +84,29 @@ class PlayerManager : public QObject {
> >          return QString("[PreviewDeck%1]").arg(i+1);
> >      }
> >
> > +    // Returns a list of lists of possible orders to load tracks into decks.
> > +    // Controllers label their channels differently and these are the three combinations
> > +    // we've encountered.
> > +    const QList<QList<int> > getAvailableDeckOrderings() {
>
> ok, it wasn't enough to movedthe implementation of
> getAvailableDeckOrderings to the cpp, I also had to declare it outside of
> the function.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mixxxdj/mixxx/pull/6/files#r4322248>
> .
>