Hello,

Is there any difference in speed in writing code like Code1 and Code2 ?
I heard that Code2 is faster than Code1... ?

Code1:
Qt Code:
  1. if (strData.isEmpty() == true)
  2. {
  3. ...
To copy to clipboard, switch view to plain text mode 

Code2:
Qt Code:
  1. if (strData.isEmpty())
  2. {
  3. ...
To copy to clipboard, switch view to plain text mode