hi everyone
I'm new to Qt

look at this code:
Qt Code:
  1. int node1;
  2. QMap< int,QList<int> > map;
  3. QList<int> adjacent = map.values(node1);
To copy to clipboard, switch view to plain text mode 

when i run it: boom
error: conversion from 'QList<QList<int> >' to non-scalar type 'QList<int>' requested