Hi all
In the source code of Qt, we could see the below code

Qt Code:
  1. return QVariant();
To copy to clipboard, switch view to plain text mode 
VS9 will report a warning:
warning C4172: returning address of local variable or temporary
We all know returning address of local var is very dangerous!
I want to know is that(return QVariant() correct?