So I was experimenting with QSound...And after a while of trying to figure out why
Qt Code:
  1. QSound qs("st.wav");
  2. qs.setLoops(1);
  3. qs.play();
To copy to clipboard, switch view to plain text mode 
wouldn't work(didn't play audio), I discovered that
Qt Code:
  1. QSound* qs = new QSound("st.wav");
  2. qs->setLoops(1);
  3. qs->play();
To copy to clipboard, switch view to plain text mode 
worked. Why is this?