I've been using this bit of code for ages, and it's always worked before, but since I upgraded to 4.6 it only works twice, then stops.

Qt Code:
  1. label->setPixmap( QPixmap( dir + "/logo.png" ) );
To copy to clipboard, switch view to plain text mode 

.. where dir is the path for a skin being loaded.

When I use it, the label gets a new graphic twice only (so I know for sure the path is correct), then stops updating. Is there some new features in 4.6 that would prevent this from working like it did in 4.5, or am I doing something stupid here?